From 601c814603801ad3af78e37d26c87a4470156738 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 13 Feb 2015 15:26:53 +0000 Subject: minimal: Allow to compile without defining MICROPY_HAL_H. --- minimal/uart_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'minimal/uart_core.c') diff --git a/minimal/uart_core.c b/minimal/uart_core.c index 92c81ecc9..48cc27d6d 100644 --- a/minimal/uart_core.c +++ b/minimal/uart_core.c @@ -6,7 +6,7 @@ */ // Receive single character -int stdin_rx_chr(void) { +int mp_hal_stdin_rx_chr(void) { unsigned char c = 0; #if MICROPY_MIN_USE_STDOUT int r = read(0, &c, 1); @@ -16,7 +16,7 @@ int stdin_rx_chr(void) { } // Send string of given length -void stdout_tx_strn(const char *str, mp_uint_t len) { +void mp_hal_stdout_tx_strn(const char *str, mp_uint_t len) { #if MICROPY_MIN_USE_STDOUT int r = write(1, str, len); (void)r; -- cgit v1.2.3