Update mqtt_iot_explorer_tc_pm25_oled.c

This commit is contained in:
supowang
2021-03-01 15:47:27 +08:00
parent a32b14f7a4
commit ba908625d5

View File

@@ -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);
} }