diff options
Diffstat (limited to 'code/fe310/eos/net.c')
-rw-r--r-- | code/fe310/eos/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fe310/eos/net.c b/code/fe310/eos/net.c index afe7997..47f49b6 100644 --- a/code/fe310/eos/net.c +++ b/code/fe310/eos/net.c @@ -302,7 +302,7 @@ void eos_net_set_handler(unsigned char mtype, eos_evt_handler_t handler) { if (mtype && (mtype <= EOS_NET_MAX_MTYPE)) net_handler[mtype - 1] = handler; } -void eos_net_set_acquire_for_evt(unsigned char type, char acq) { +void eos_net_acquire_for_evt(unsigned char type, char acq) { unsigned char idx = ((type & EOS_EVT_MASK) >> 4) - 1; uint16_t flag = type & ~EOS_EVT_MASK ? (uint16_t)1 << ((type & ~EOS_EVT_MASK) - 1) : 0xFFFF; |