PID+PWM relay thermostat, init from flash fixed

This commit is contained in:
2021-12-29 02:06:52 +03:00
parent c67bab2173
commit c03821e94a
9 changed files with 397 additions and 35 deletions

View File

@@ -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;
}