mirror of
https://github.com/anklimov/lighthub
synced 2025-12-08 20:59:49 +03:00
PID+PWM relay thermostat, init from flash fixed
This commit is contained in:
@@ -19,6 +19,6 @@ int abstractOut::isActive()
|
||||
|
||||
int abstractOut::Setup()
|
||||
{
|
||||
if (item) item->setCmd(CMD_OFF);
|
||||
if (item && (item->getCmd()==-1)) item->setCmd(CMD_OFF);
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user