From 9da5f8409c85637361d7bc69b721f6d9d3087b7b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 4 Sep 2024 21:07:29 +0200 Subject: esp32 cellular modem driver fix --- fw/esp32/components/eos/cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fw/esp32/components/eos/cell.c') 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; } -- cgit v1.2.3