ESP32: Fix some warnings
This commit is contained in:
parent
6ed5d4b20c
commit
afcda29646
@ -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()
|
||||
|
@ -47,6 +47,7 @@
|
||||
#include <arch/irq.h>
|
||||
|
||||
#include "xtensa.h"
|
||||
#include "esp32_cpuint.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user