mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
temporary remove clear on scan devices to avoid crash
This commit is contained in:
@@ -83,7 +83,8 @@ void EMSESP::fetch_device_values(const uint8_t device_id) {
|
|||||||
|
|
||||||
// clears list of recognized devices
|
// clears list of recognized devices
|
||||||
void EMSESP::clear_all_devices() {
|
void EMSESP::clear_all_devices() {
|
||||||
emsdevices.clear(); // remove entries, but doesn't delete actual devices
|
// temporary removed: clearing the list causes a crash, the associated commands and mqtt should also be removed.
|
||||||
|
// emsdevices.clear(); // remove entries, but doesn't delete actual devices
|
||||||
}
|
}
|
||||||
|
|
||||||
// return number of devices of a known type
|
// return number of devices of a known type
|
||||||
|
|||||||
Reference in New Issue
Block a user