|
|
@@ -585,6 +585,7 @@ void check_temp_state(void){
|
|
|
debounce_inc(_work_lower_temp_count);
|
|
|
if (debounce_reach_max(_work_lower_temp_count)){
|
|
|
_health.is_work_temp_normal = 1;
|
|
|
+ push_event(Temp_Changed, 1);
|
|
|
debounce_reset(_work_lower_temp_count);
|
|
|
}
|
|
|
}else {
|
|
|
@@ -595,6 +596,7 @@ void check_temp_state(void){
|
|
|
debounce_inc(_work_lower_temp_count);
|
|
|
if (debounce_reach_max(_work_lower_temp_count)){
|
|
|
_health.is_work_temp_normal = 0;
|
|
|
+ push_event(Temp_Changed, 0);
|
|
|
debounce_reset(_work_lower_temp_count);
|
|
|
}
|
|
|
}else {
|