diff options
Diffstat (limited to 'pyecsca/codegen/hal/host/uart.c')
| -rw-r--r-- | pyecsca/codegen/hal/host/uart.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyecsca/codegen/hal/host/uart.c b/pyecsca/codegen/hal/host/uart.c index 0410462..1f8d947 100644 --- a/pyecsca/codegen/hal/host/uart.c +++ b/pyecsca/codegen/hal/host/uart.c @@ -4,4 +4,6 @@ void init_uart0(void) {} int input_ch_0(void) { return getchar(); } -void output_ch_0(char data) { putchar(data); }
\ No newline at end of file +void output_ch_0(char data) { putchar(data); } + +void flush_ch_0(void) { fflush(stdout); }
\ No newline at end of file |
