From 6691c819568dbd7e898b954a03e96e402f027cfa Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Wed, 25 Jun 2025 17:46:38 +0200 Subject: [PATCH] test for #2585 --- src/core/telegram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/telegram.cpp b/src/core/telegram.cpp index a2ff5097c..2a7edc03d 100644 --- a/src/core/telegram.cpp +++ b/src/core/telegram.cpp @@ -649,7 +649,7 @@ uint16_t TxService::read_next_tx(const uint8_t offset, const uint8_t length) { return 0; } // we request all and get a short telegram with requested offset - if ((next_length + next_offset) == 0xFF && old_length < max_length - 1 && offset <= telegram_last_->offset) { + if ((next_length + next_offset) == 0xFF && old_length < max_length - 4 && offset <= telegram_last_->offset) { return 0; } if (offset >= telegram_last_->offset && old_length > 0 && next_length > 0) {