diff --git a/src/emsesp.cpp b/src/emsesp.cpp index 41be091a2..8e25ff737 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -1474,13 +1474,9 @@ void EMSESP::incoming_telegram(uint8_t * data, const uint8_t length) { txservice_.reset_retry_count(); tx_successful = true; // no retries } else { - txservice_.send_poll(); // close the bus LOG_ERROR("Last Tx write host reply: 0x%02X", first_value); } - } else if (tx_state == Telegram::Operation::TX_READ && length == 1) { - EMSbus::tx_state(Telegram::Operation::TX_READ); // reset Tx wait state - return; - } else if (tx_state == Telegram::Operation::TX_READ) { + } else if (tx_state == Telegram::Operation::TX_READ && length > 1) { // got a telegram with data in it. See if the src/dest matches that from the last one we sent and continue to process it uint8_t src = data[0]; uint8_t dest = data[1];