mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 19:24:27 +05:00
refactor: some changes
This commit is contained in:
@@ -106,6 +106,10 @@ protected:
|
||||
}
|
||||
|
||||
void loop() {
|
||||
if (vars.states.restarting || vars.states.upgrading) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this->instanceInGpio != settings.opentherm.inGpio || this->instanceOutGpio != settings.opentherm.outGpio) {
|
||||
this->setup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user