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

@@ -195,7 +195,11 @@ void mqtt_demo_task(void)
sprintf(str, "# report ok");
OLED_ShowString(0,2,(uint8_t*)str,16);
}
if (report_error_count >= 6) {
HAL_NVIC_SystemReset();
}
tos_sleep_ms(5000);
}