diff options
Diffstat (limited to 'esp8266/esp_mphal.h')
| -rw-r--r-- | esp8266/esp_mphal.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/esp8266/esp_mphal.h b/esp8266/esp_mphal.h index 369b375d9..28f2ed53a 100644 --- a/esp8266/esp_mphal.h +++ b/esp8266/esp_mphal.h @@ -30,10 +30,10 @@ void mp_hal_init(void); void mp_hal_feed_watchdog(void); void mp_hal_udelay(uint32_t); -int mp_hal_uart0_rx_chr(void); -void mp_hal_uart0_write_str(const char *str); -void mp_hal_uart0_write_strn(const char *str, uint32_t len); -void mp_hal_uart0_write_strn_cooked(const char *str, uint32_t len); +int mp_hal_stdin_rx_chr(void); +void mp_hal_stdout_tx_str(const char *str); +void mp_hal_stdout_tx_strn(const char *str, uint32_t len); +void mp_hal_stdout_tx_strn_cooked(const char *str, uint32_t len); uint32_t HAL_GetTick(void); void HAL_Delay(uint32_t Delay); @@ -43,4 +43,5 @@ uint32_t mp_hal_get_cpu_freq(void); #define UART_TASK_ID 0 void uart_task_init(); + #endif // _INCLUDED_MPHAL_H_ |
