ESP32: Fix some warnings

This commit is contained in:
Gregory Nutt 2016-10-27 16:46:34 -06:00
parent 6ed5d4b20c
commit afcda29646
4 changed files with 4 additions and 3 deletions

View File

@ -278,7 +278,7 @@ void xtensa_add_region(void);
void up_lowputc(char ch);
#if CONFIG_NFILE_DESCRIPTORS > 0
void xtensa_earlyserialinit(void);
void xtensa_early_serial_initialize(void);
void xtensa_serial_initialize(void);
#else
# define xtensa_earlyserialinit()

View File

@ -47,6 +47,7 @@
#include <arch/irq.h>
#include "xtensa.h"
#include "esp32_cpuint.h"
/****************************************************************************
* Public Data

View File

@ -1178,7 +1178,7 @@ static bool esp32_txempty(struct uart_dev_s *dev)
****************************************************************************/
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void)
void xtensa_early_serial_initialize(void)
{
/* NOTE: All GPIO configuration for the UARTs was performed in
* esp32_lowsetup

View File

@ -98,7 +98,7 @@ void IRAM_ATTR __start(void)
#ifdef USE_EARLYSERIALINIT
/* Perform early serial initialization */
xtensa_earlyserialinit();
xtensa_early_serial_initialize();
#endif
/* Initialize onboard resources */