From f969226b051aa7ce94824e0fce58bd392acf57f5 Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 1 Feb 2020 09:07:09 +0100 Subject: [PATCH] fix for HC detection - #305 --- src/ems.cpp | 3 +++ src/version.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ems.cpp b/src/ems.cpp index da76ef4ec..e33d208e2 100644 --- a/src/ems.cpp +++ b/src/ems.cpp @@ -1432,9 +1432,12 @@ void _process_RC30Set(_EMS_RxTelegram * EMS_RxTelegram) { int8_t _getHeatingCircuit(_EMS_RxTelegram * EMS_RxTelegram) { // check to see we have an active HC. Assuming first byte must have some bit status set. // see https://github.com/proddy/EMS-ESP/issues/238 + // and reverting on 1/2/2020 with https://github.com/proddy/EMS-ESP/issues/305#issuecomment-581006130 + /* if (EMS_RxTelegram->data[0] == 0x00) { return -1; } + */ // ignore telegrams that have no data, or only a single byte if (EMS_RxTelegram->data_length <= 1) { diff --git a/src/version.h b/src/version.h index d9f40e3c5..804a126b7 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define APP_VERSION "1.9.5b23" +#define APP_VERSION "1.9.5b24"