clear list on autodetect

This commit is contained in:
Paul
2019-06-08 22:35:37 +02:00
parent 82ca347d44
commit 58a244ab2a
4 changed files with 10 additions and 1 deletions

View File

@@ -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
*/