only check intercom every 250ms as we don't send packets more often
This commit is contained in:
parent
e1ebf74ba0
commit
100b7c6c4a
2
temp.c
2
temp.c
|
|
@ -245,7 +245,7 @@ void temp_sensor_tick() {
|
||||||
case TT_INTERCOM:
|
case TT_INTERCOM:
|
||||||
temp = read_temperature(temp_sensors[i].temp_pin);
|
temp = read_temperature(temp_sensors[i].temp_pin);
|
||||||
|
|
||||||
temp_sensors_runtime[i].next_read_time = 0;
|
temp_sensors_runtime[i].next_read_time = 25;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
#endif /* TEMP_INTERCOM */
|
#endif /* TEMP_INTERCOM */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue