summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/event.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-11-17 20:42:47 +0100
committerUros Majstorovic <majstor@majstor.org>2021-11-17 20:42:47 +0100
commitb0e84c72d7a533f62ca750a73445da7fcebe8d18 (patch)
treed091c2307cd667fc9dd1c22e7c80e9ab9ceed445 /fw/fe310/eos/event.h
parent9d1721008fe1d35abdedbff063ef29d35996124c (diff)
wakeup cause added to init functions
Diffstat (limited to 'fw/fe310/eos/event.h')
-rw-r--r--fw/fe310/eos/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/event.h b/fw/fe310/eos/event.h
index c9edd03..02250a5 100644
--- a/fw/fe310/eos/event.h
+++ b/fw/fe310/eos/event.h
@@ -4,7 +4,7 @@
typedef void (*eos_evt_handler_t) (unsigned char, unsigned char *, uint16_t);
-void eos_evtq_init(void);
+void eos_evtq_init(uint8_t wakeup_cause);
int eos_evtq_push(unsigned char type, unsigned char *buffer, uint16_t len);
int eos_evtq_push_isr(unsigned char type, unsigned char *buffer, uint16_t len);
void eos_evtq_pop(unsigned char *type, unsigned char **buffer, uint16_t *len);