Perform error checks _after_ one second
This commit is contained in:
parent
93bd0dfe76
commit
da5118c73b
@ -210,7 +210,7 @@ int main(void) {
|
|||||||
update_status_leds();
|
update_status_leds();
|
||||||
afe_measure();
|
afe_measure();
|
||||||
tmp144_read_temps();
|
tmp144_read_temps();
|
||||||
if (HAL_GetTick() - main_loop_start < ERROR_CHECK_START) {
|
if (HAL_GetTick() - main_loop_start > ERROR_CHECK_START) {
|
||||||
check_error_conditions();
|
check_error_conditions();
|
||||||
}
|
}
|
||||||
fan_ctrl_update();
|
fan_ctrl_update();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user