mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
clear list on autodetect
This commit is contained in:
@@ -1529,6 +1529,13 @@ void _process_RCTime(_EMS_RxTelegram * EMS_RxTelegram) {
|
||||
EMS_Thermostat.year = _toByte(0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Clear devices list
|
||||
*/
|
||||
void ems_clearDeviceList() {
|
||||
Devices.clear();
|
||||
}
|
||||
|
||||
/*
|
||||
* add an EMS device to our list of detected devices
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user