mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 03:04:27 +05:00
refactor: some changes
This commit is contained in:
@@ -59,6 +59,10 @@ protected:
|
||||
#endif
|
||||
|
||||
void loop() {
|
||||
if (vars.states.restarting || vars.states.upgrading) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isPollingDallasSensors()) {
|
||||
pollingDallasSensors(false);
|
||||
this->yield();
|
||||
|
||||
Reference in New Issue
Block a user