From 73350da88c45576df770c5efafbad58dffb5cc26 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 21 May 2024 17:14:47 +0200 Subject: [PATCH] Even better fix --- tasmota/tasmota_xdrv_driver/xdrv_73_9_lora.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_73_9_lora.ino b/tasmota/tasmota_xdrv_driver/xdrv_73_9_lora.ino index f7eacc83a..33eb00269 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_73_9_lora.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_73_9_lora.ino @@ -213,10 +213,10 @@ void LoraInput(void) { } } else { *--command_part = ' '; // Restore strtok_r '/0' - rcvd_data++; // Remove TAS_LORA_REMOTE_COMMAND header - packet_size--; } } + rcvd_data++; // Remove TAS_LORA_REMOTE_COMMAND header + packet_size--; // Adjust packet size } bool raw = Lora->raw;