mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
fix for HC detection - #305
This commit is contained in:
@@ -1432,9 +1432,12 @@ void _process_RC30Set(_EMS_RxTelegram * EMS_RxTelegram) {
|
|||||||
int8_t _getHeatingCircuit(_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.
|
// 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
|
// 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) {
|
if (EMS_RxTelegram->data[0] == 0x00) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ignore telegrams that have no data, or only a single byte
|
// ignore telegrams that have no data, or only a single byte
|
||||||
if (EMS_RxTelegram->data_length <= 1) {
|
if (EMS_RxTelegram->data_length <= 1) {
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define APP_VERSION "1.9.5b23"
|
#define APP_VERSION "1.9.5b24"
|
||||||
|
|||||||
Reference in New Issue
Block a user