From 53599ee69d308e33a973514842740872277e25e9 Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 5 Oct 2019 10:51:56 +0200 Subject: [PATCH] remove emsIDMask from telegram destination so it works with Junkers - https://github.com/proddy/EMS-ESP/issues/98 --- src/ems.cpp | 4 ++-- src/version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ems.cpp b/src/ems.cpp index b6c863812..d40d5c009 100644 --- a/src/ems.cpp +++ b/src/ems.cpp @@ -630,10 +630,10 @@ void _ems_sendTelegram() { // dest if (EMS_TxTelegram.action == EMS_TX_TELEGRAM_WRITE) { - EMS_TxTelegram.data[1] = EMS_TxTelegram.dest ^ EMS_Sys_Status.emsIDMask; + EMS_TxTelegram.data[1] = EMS_TxTelegram.dest; } else { // for a READ or VALIDATE - EMS_TxTelegram.data[1] = (EMS_TxTelegram.dest ^ 0x80 ^ EMS_Sys_Status.emsIDMask); // read has 8th bit set + EMS_TxTelegram.data[1] = (EMS_TxTelegram.dest | 0x80); // read has 8th bit set, always } // complete the rest of the header depending on EMS or EMS+ diff --git a/src/version.h b/src/version.h index 4c8a6e58a..ce1b43bb6 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define APP_VERSION "1.9.1b11" +#define APP_VERSION "1.9.1b12"