From 6c0542f5aaafc0d463876ade4427ccbec0ee5eda Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 7 Aug 2020 19:26:54 +0200 Subject: added cell message types --- fw/fe310/eos/cell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fw/fe310/eos/cell.c') diff --git a/fw/fe310/eos/cell.c b/fw/fe310/eos/cell.c index 2421f4b..4b4fcc0 100644 --- a/fw/fe310/eos/cell.c +++ b/fw/fe310/eos/cell.c @@ -19,7 +19,7 @@ static void cell_handle_evt(unsigned char type, unsigned char *buffer, uint16_t unsigned char idx = (mtype & EOS_CELL_MTYPE_MASK) >> 4; if (idx < EOS_CELL_MAX_MTYPE) { - evt_handler[idx](type, buffer, len); + evt_handler[idx](mtype & ~EOS_CELL_MTYPE_MASK, buffer, len); } else { eos_net_bad_handler(type, buffer, len); } -- cgit v1.2.3