mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
remove emsIDMask from telegram destination so it works with Junkers - https://github.com/proddy/EMS-ESP/issues/98
This commit is contained in:
@@ -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+
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define APP_VERSION "1.9.1b11"
|
||||
#define APP_VERSION "1.9.1b12"
|
||||
|
||||
Reference in New Issue
Block a user