mirror of https://github.com/arendst/Tasmota.git
Minor correction
This commit is contained in:
parent
5062dc2c33
commit
b31455c8eb
|
@ -1338,7 +1338,7 @@ void CmndTimePiCycleSet(void)
|
|||
if (XdrvMailbox.data_len > 0) {
|
||||
uint32_t value = (uint32_t)(XdrvMailbox.payload);
|
||||
if ((value >= 0) && (value <= 1440)) {
|
||||
Thermostat[ctr_output].time_pi_cycle = (uint16_t)(value);
|
||||
Thermostat[ctr_output].time_pi_cycle = (uint16_t)value;
|
||||
}
|
||||
}
|
||||
ResponseCmndNumber((int)((uint32_t)Thermostat[ctr_output].time_pi_cycle));
|
||||
|
|
Loading…
Reference in New Issue