From bb00fee9702155586e674b9d6a3b838bd54baac2 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 26 Nov 2019 20:37:19 +0100 Subject: Add ASN.1 parsing and more utility functions, + commands sketch. --- pyecsca/codegen/hal/host/uart.c | 2 +- pyecsca/codegen/hal/host/uart.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pyecsca/codegen/hal') 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 diff --git a/pyecsca/codegen/hal/host/uart.h b/pyecsca/codegen/hal/host/uart.h index d6063bc..ffbc964 100644 --- a/pyecsca/codegen/hal/host/uart.h +++ b/pyecsca/codegen/hal/host/uart.h @@ -6,7 +6,7 @@ void init_uart0(void); -char input_ch_0(void); +int input_ch_0(void); void output_ch_0(char data); -- cgit v1.3.1