remove emsIDMask from telegram destination so it works with Junkers - https://github.com/proddy/EMS-ESP/issues/98

This commit is contained in:
Paul
2019-10-05 10:51:56 +02:00
parent fe61e3b88b
commit 53599ee69d
2 changed files with 3 additions and 3 deletions

View File

@@ -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+

View File

@@ -1 +1 @@
#define APP_VERSION "1.9.1b11"
#define APP_VERSION "1.9.1b12"