diff options
| author | Damien George | 2015-02-13 15:26:53 +0000 |
|---|---|---|
| committer | Damien George | 2015-02-13 15:26:53 +0000 |
| commit | 601c814603801ad3af78e37d26c87a4470156738 (patch) | |
| tree | 4e6f5b1b6cdd15b8c7c6967da1d66aa90f81115e /minimal/uart_core.c | |
| parent | ccf45a42833355100c1cebb5851fa36494914ce1 (diff) | |
minimal: Allow to compile without defining MICROPY_HAL_H.
Diffstat (limited to 'minimal/uart_core.c')
| -rw-r--r-- | minimal/uart_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
