From 0b22663338387ca72f62de72b3a43332b118f1b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Tue, 26 Mar 2024 18:08:31 +0000 Subject: [PATCH] Update lora.cpp --- esphome/components/lora/lora.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/lora/lora.cpp b/esphome/components/lora/lora.cpp index f399557df5..47fd2e8135 100644 --- a/esphome/components/lora/lora.cpp +++ b/esphome/components/lora/lora.cpp @@ -157,7 +157,8 @@ void Lora::loop() { data.push_back(c); } if (data.size() >= 4) { - ESP_LOGD(TAG, "start bit: %u ", data[0]); + ESP_LOGD(TAG, "Total: %u ", data.size()); + ESP_LOGD(TAG, "Start bit: %u ", data[0]); ESP_LOGD(TAG, "PIN: %u ", data[1]); ESP_LOGD(TAG, "VALUE: %u ", data[2]); ESP_LOGD(TAG, "RSSI: %u ", data[3]);