mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
standalone changes for mqtt testing
This commit is contained in:
@@ -1065,7 +1065,7 @@ void EMSESP::start() {
|
|||||||
dallassensor_.start(); // dallas external sensors
|
dallassensor_.start(); // dallas external sensors
|
||||||
webServer.begin(); // start web server
|
webServer.begin(); // start web server
|
||||||
|
|
||||||
// emsdevices.reserve(5); // reserve space for initially 5 devices to avoid mem frag issues
|
emsdevices.reserve(5); // reserve space for initially 5 devices to avoid mem frag issues
|
||||||
|
|
||||||
LOG_INFO(F("EMS Device library loaded with %d records"), device_library_.size());
|
LOG_INFO(F("EMS Device library loaded with %d records"), device_library_.size());
|
||||||
|
|
||||||
@@ -1075,6 +1075,10 @@ void EMSESP::start() {
|
|||||||
System::show_mem("after start()");
|
System::show_mem("after start()");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(EMSESP_STANDALONE)
|
||||||
|
Mqtt::on_connect(); // simulate an MQTT connection
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// main loop calling all services
|
// main loop calling all services
|
||||||
|
|||||||
Reference in New Issue
Block a user