From 55474b81146327e8cfa7702fa9366cc7da6562e7 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 30 Mar 2022 13:22:57 +0200 Subject: sock api fixed; net reply messages fixed --- fw/esp32/components/eos/app.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fw/esp32/components/eos/app.c') diff --git a/fw/esp32/components/eos/app.c b/fw/esp32/components/eos/app.c index 5f8cc43..c4244df 100644 --- a/fw/esp32/components/eos/app.c +++ b/fw/esp32/components/eos/app.c @@ -56,7 +56,6 @@ static void _post_trans_cb(spi_slave_transaction_t *trans) { static void app_xchg_task(void *pvParameters) { unsigned char mtype = 0; - unsigned char mtype_flags = 0; unsigned char *buffer; uint16_t len; unsigned char *buf_send = heap_caps_malloc(SPI_SIZE_BUF, MALLOC_CAP_DMA); @@ -133,7 +132,6 @@ static void app_xchg_task(void *pvParameters) { spi_tr.length = SPI_SIZE_BUF * 8; } mtype = buf_recv[0] & ~EOS_APP_MTYPE_FLAG_MASK; - mtype_flags = buf_recv[0] & EOS_APP_MTYPE_FLAG_MASK; len = (uint16_t)buf_recv[1] << 8; len |= (uint16_t)buf_recv[2] & 0xFF; buffer = buf_recv + 3; -- cgit v1.2.3