]> granicus.if.org Git - esp-idf/commitdiff
esp32 syscalls.c: Use rom/uart.h for uart_tx_one_char prototype
authorAngus Gratton <angus@espressif.com>
Tue, 23 Aug 2016 09:10:18 +0000 (17:10 +0800)
committerWu Jian Gang <wujiangang@espressif.com>
Wed, 24 Aug 2016 05:49:17 +0000 (13:49 +0800)
components/esp32/syscalls.c

index f6da4a52a790f46e1ab6caad9720624fa4ee294a..5c0b870c4fac0c06b8512ae3d368a677f2353a8f 100644 (file)
 #include <sys/reent.h>
 #include <stdlib.h>
 #include "rom/libc_stubs.h"
+#include "rom/uart.h"
 #include "freertos/FreeRTOS.h"
 #include "freertos/portmacro.h"
 #include "freertos/task.h"
 
-int uart_tx_one_char(uint8_t c);
-
 void abort() {
     do
     {