summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/interrupt.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/interrupt.h')
-rw-r--r--fw/fe310/eos/interrupt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/interrupt.h b/fw/fe310/eos/interrupt.h
index 603f0e1..a239934 100644
--- a/fw/fe310/eos/interrupt.h
+++ b/fw/fe310/eos/interrupt.h
@@ -4,7 +4,7 @@
typedef void (*eos_intr_handler_t) (void);
-void eos_intr_init(uint8_t wakeup_cause);
+int eos_intr_init(uint8_t wakeup_cause);
void eos_intr_set(uint8_t int_num, uint8_t priority, eos_intr_handler_t handler);
void eos_intr_set_handler(uint8_t int_num, eos_intr_handler_t handler);
void eos_intr_set_priority(uint8_t int_num, uint8_t priority);