diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-02-26 02:41:56 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-02-26 02:41:56 +0100 |
commit | 26e0687ecc5e3a68c0a89e3d31d238224dc214b5 (patch) | |
tree | da6a88c45273ae332a9f61eb6a42ceb3e0d915ce /code/fe310/eos/net.c | |
parent | 89e91c86f4e57f539de9ea76533ee87541c35654 (diff) |
net driver func rename
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; |