aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/hal/host/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/codegen/hal/host/uart.c')
-rw-r--r--pyecsca/codegen/hal/host/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/codegen/hal/host/uart.c b/pyecsca/codegen/hal/host/uart.c
index 3931d6d..0410462 100644
--- a/pyecsca/codegen/hal/host/uart.c
+++ b/pyecsca/codegen/hal/host/uart.c
@@ -2,6 +2,6 @@
void init_uart0(void) {}
-char input_ch_0(void) { return getchar(); }
+int input_ch_0(void) { return getchar(); }
void output_ch_0(char data) { putchar(data); } \ No newline at end of file