mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 17:13:50 +01:00
boards/esp32: cleanup board_init_common
board_init_common isn't needed any longer.
This commit is contained in:
parent
03dfad899b
commit
d00c6b0e3c
@ -30,10 +30,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void board_init_common(void)
|
||||
{
|
||||
}
|
||||
|
||||
extern void adc_print_config(void);
|
||||
extern void dac_print_config(void);
|
||||
extern void pwm_print_config(void);
|
||||
|
||||
@ -147,13 +147,6 @@ extern mtd_dev_t *mtd0;
|
||||
/** @} */
|
||||
#endif /* MODULE_SPIFFS || DOXYGEN */
|
||||
|
||||
/**
|
||||
* @brief Initialize the hardware that is common for all ESP32 boards.
|
||||
*
|
||||
* This function has to be called from the board specific `board_init` function.
|
||||
*/
|
||||
void board_init_common(void);
|
||||
|
||||
/**
|
||||
* @brief Print the board configuration in a human readable format
|
||||
*/
|
||||
@ -171,9 +164,6 @@ void print_board_config(void);
|
||||
extern "C"
|
||||
#endif
|
||||
|
||||
/* declaration of `board_init_common` is required when compiling vendor code */
|
||||
extern void board_init_common(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -33,8 +33,6 @@
|
||||
|
||||
void board_init(void)
|
||||
{
|
||||
board_init_common();
|
||||
|
||||
#if MODULE_ESP32_TTGO_T_BEAM_V1_0
|
||||
uint8_t reg;
|
||||
|
||||
|
||||
@ -23,7 +23,4 @@ void board_init(void)
|
||||
#if MODULE_ILI9341
|
||||
gpio_init(LCD_BACKLIGHT, GPIO_OUT);
|
||||
#endif
|
||||
|
||||
/* there is nothing special to initialize on this board */
|
||||
board_init_common();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user