summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/cell.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2024-09-04 21:07:29 +0200
committerUros Majstorovic <majstor@majstor.org>2024-09-04 21:07:29 +0200
commit9da5f8409c85637361d7bc69b721f6d9d3087b7b (patch)
treef53bd2d8f9f59b683519ce87551db6ee23be2062 /fw/esp32/components/eos/cell.c
parentec892bf2e7620fb58e635b900ab4a0e44e3488bd (diff)
esp32 cellular modem driver fix
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;
}