summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/uart.h')
-rw-r--r--fw/fe310/eos/uart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/uart.h b/fw/fe310/eos/uart.h
index d2e795b..3bb7cb5 100644
--- a/fw/fe310/eos/uart.h
+++ b/fw/fe310/eos/uart.h
@@ -7,7 +7,7 @@
typedef void (*eos_uart_handler_t) (unsigned char);
-void eos_uart_init(uint8_t wakeup_cause);
+int eos_uart_init(uint8_t wakeup_cause);
void eos_uart_set_handler(unsigned char type, eos_uart_handler_t handler);
void eos_uart_txwm_set(uint8_t wm);