summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/esp32/components/eos/cell.c')
-rw-r--r--fw/esp32/components/eos/cell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/esp32/components/eos/cell.c b/fw/esp32/components/eos/cell.c
index 2584884..d34172e 100644
--- a/fw/esp32/components/eos/cell.c
+++ b/fw/esp32/components/eos/cell.c
@@ -117,7 +117,7 @@ static void cell_handler(unsigned char type, unsigned char *buffer, uint16_t len
xSemaphoreGive(mutex);
if (buf == NULL) {
- ESP_LOGE(TAG, "Cell message NOT handled: %2x", type);
+ if (len) ESP_LOGE(TAG, "Cell message NOT handled: %2x", buffer[0]);
return;
}