summaryrefslogtreecommitdiff
path: root/fw/esp32/components/eos/app.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-03-30 13:22:57 +0200
committerUros Majstorovic <majstor@majstor.org>2022-03-30 13:22:57 +0200
commit55474b81146327e8cfa7702fa9366cc7da6562e7 (patch)
treeb6bf9fe0258ab88d12717bb31ecdf4eda0ffa073 /fw/esp32/components/eos/app.c
parentc6962c5700f99441538dafa346626bb7e6d12488 (diff)
sock api fixed; net reply messages fixed
Diffstat (limited to 'fw/esp32/components/eos/app.c')
-rw-r--r--fw/esp32/components/eos/app.c2
1 files changed, 0 insertions, 2 deletions
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;