diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-10-15 18:11:40 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-10-15 18:11:40 +0200 |
commit | edec491d59697a635ddce7a19a870dd3e8d2f3ed (patch) | |
tree | 8b5c00103609eabe9fdc89169c825f544aca41d5 /code/fe310/eos/event.h | |
parent | 850ce8bb7a447e1d2500d5dac0b0003bb4412c37 (diff) |
event handler flags per evt subtype
timer has evt subtypes
i2s refactor
i2s has spk event
i2s fixed intr handler audio buf push
msgq fixed get message
Diffstat (limited to 'code/fe310/eos/event.h')
-rw-r--r-- | code/fe310/eos/event.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/fe310/eos/event.h b/code/fe310/eos/event.h index 653d5c4..a9a98ef 100644 --- a/code/fe310/eos/event.h +++ b/code/fe310/eos/event.h @@ -8,5 +8,6 @@ void eos_evtq_init(void); int eos_evtq_push(unsigned char type, unsigned char *buffer, uint16_t len); void eos_evtq_pop(unsigned char *type, unsigned char **buffer, uint16_t *len); void eos_evtq_bad_handler(unsigned char type, unsigned char *buffer, uint16_t len); -void eos_evtq_set_handler(unsigned char type, eos_evt_fptr_t handler, uint8_t flags); +void eos_evtq_set_handler(unsigned char type, eos_evt_fptr_t handler); +void eos_evtq_set_flags(unsigned char type, uint8_t flags); void eos_evtq_loop(void); |