Update mqtt_iot_explorer_tc_pm25_oled.c
This commit is contained in:
@@ -196,6 +196,10 @@ void mqtt_demo_task(void)
|
|||||||
OLED_ShowString(0,2,(uint8_t*)str,16);
|
OLED_ShowString(0,2,(uint8_t*)str,16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (report_error_count >= 6) {
|
||||||
|
HAL_NVIC_SystemReset();
|
||||||
|
}
|
||||||
|
|
||||||
tos_sleep_ms(5000);
|
tos_sleep_ms(5000);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user