mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix #285
This commit is contained in:
@@ -1735,7 +1735,7 @@ void _process_Version(_EMS_RxTelegram * EMS_RxTelegram) {
|
||||
uint8_t i = 0;
|
||||
uint8_t found_index = 0;
|
||||
bool typeFound = false;
|
||||
while (i++ < _EMS_Devices_max) {
|
||||
while (i < _EMS_Devices_max) {
|
||||
if (EMS_Devices[i].product_id == product_id) {
|
||||
// we have a matching product id
|
||||
/*
|
||||
@@ -1755,6 +1755,7 @@ void _process_Version(_EMS_RxTelegram * EMS_RxTelegram) {
|
||||
found_index = i;
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
// if not found, just add it as an unknown device and exit
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define APP_VERSION "1.9.5b12"
|
||||
#define APP_VERSION "1.9.5b13"
|
||||
|
||||
Reference in New Issue
Block a user