From 0114899944f03fe8e7d222a1ef27c465737d048a Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Wed, 17 Apr 2024 08:27:38 +0200 Subject: [PATCH] fix incompletes when using remote emulation --- src/roomcontrol.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/roomcontrol.cpp b/src/roomcontrol.cpp index 6e8f3796a..4c5de9276 100644 --- a/src/roomcontrol.cpp +++ b/src/roomcontrol.cpp @@ -81,7 +81,9 @@ uint8_t Roomctrl::get_hc(uint8_t addr) { * if remote control is active send the temperature every 15 seconds */ void Roomctrl::send(uint8_t addr) { - addr &= 0x7F; + if (addr & 0x80) { + return; + } uint8_t hc = get_hc(addr); // check address, reply only on addresses 0x18..0x1B or 0x40..0x43 if (hc >= HCS) {