mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:17:13 +08:00
feat(esp32_openeth): move to common/espressif
Since this will be used for esp32s3 also, we can have this in common/espressif.
This commit is contained in:
committed by
Xiang Xiao
parent
57bfd02cef
commit
d5b32f0335
@@ -245,7 +245,7 @@ int board_ws2812_initialize(
|
||||
*
|
||||
****************************************************************************/
|
||||
#ifdef CONFIG_ESP32_OPENETH
|
||||
int esp32_openeth_initialize(void);
|
||||
int esp_openeth_initialize(void);
|
||||
#endif
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
@@ -362,7 +362,7 @@ int esp32_bringup(void)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ESP32_OPENETH
|
||||
ret = esp32_openeth_initialize();
|
||||
ret = esp_openeth_initialize();
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to initialize Open ETH ethernet.\n");
|
||||
|
||||
Reference in New Issue
Block a user