summaryrefslogtreecommitdiff
path: root/code/fe310/eos/event.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-03-21 05:56:42 +0100
committerUros Majstorovic <majstor@majstor.org>2018-03-21 05:56:42 +0100
commit6c7ac8ffd4f21a159438959cb365c7caa279e149 (patch)
tree2ae80f85367be49e42cb2ccbb50d43aab56d96c7 /code/fe310/eos/event.c
parent048197ad519fd3bc1d05a15a7d4fb0a87270c635 (diff)
fixed net driver; added asm version of spi handlers
Diffstat (limited to 'code/fe310/eos/event.c')
-rw-r--r--code/fe310/eos/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fe310/eos/event.c b/code/fe310/eos/event.c
index 127e45a..f7ee4ef 100644
--- a/code/fe310/eos/event.c
+++ b/code/fe310/eos/event.c
@@ -46,7 +46,7 @@ void eos_evtq_handler_wrapper(unsigned char cmd, unsigned char *buffer, uint16_t
int ok = eos_net_acquire(*flags_acq & flag);
if (ok) {
f(cmd, buffer, len);
- eos_net_release(1);
+ eos_net_release();
*flags_acq &= ~flag;
} else {
*flags_acq |= flag;