mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 09:49:54 +03:00
added storing crash in eeprom so can analyze dump
This commit is contained in:
@@ -993,7 +993,7 @@ void initEMSESP() {
|
||||
// call PublishValues without forcing, so using CRC to see if we really need to publish
|
||||
void do_publishValues() {
|
||||
// don't publish if we're not connected to the EMS bus
|
||||
if ((ems_getBusConnected()) && (!myESP.getUseSerial())) {
|
||||
if ((ems_getBusConnected()) && (!myESP.getUseSerial()) && myESP.isMQTTConnected() ) {
|
||||
publishValues(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user