mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 20:46:52 +03:00
Improve MQTT connection handling (#1462)
* modify mqtt init at startup + after disconnection * mqtt_init only when not initialized * Minor udapte * Apply suggestions from code review Co-authored-by: CaCO3 <caco3@ruinelli.ch> * Correct typo Co-authored-by: CaCO3 <caco3@ruinelli.ch>
This commit is contained in:
@@ -103,6 +103,8 @@ void doInit(void)
|
||||
#ifdef DEBUG_DETAIL_ON
|
||||
ESP_LOGD(TAG, "Finished tfliteflow.InitFlow(config);");
|
||||
#endif
|
||||
|
||||
tfliteflow.StartMQTTService();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user