PID&Relays field tests & debug

This commit is contained in:
2021-12-29 20:25:49 +03:00
parent bc867d0de0
commit 1316835cad
7 changed files with 56 additions and 18 deletions

View File

@@ -2573,7 +2573,7 @@ void thermoLoop(void) {
if (tStore.timestamp16) //Valid temperature
{
if (isTimeOver(tStore.timestamp16,millisNZ(8) & 0xFFFF,PERIOD_THERMOSTAT_FAILED,0xFFFF))
if (isTimeOver(tStore.timestamp16,millisNZ(8) & 0xFFFF,PERIOD_THERMOSTAT_FAILED >> 8,0xFFFF))
{
errorSerial<<thermoItem->name<<F(" Alarm Expired\n");
mqttClient.publish("/alarm/snsr", thermoItem->name);