esp32: fix build errors with efuse
``` board/esp32_bringup.c: In function 'esp32_bringup': board/esp32_bringup.c:171:9: error: implicit declaration of function 'esp32_efuse_initialize'; did you mean 'esp32_mmcsd_initialize'? [-Werror=implicit-function-declaration] ret = esp32_efuse_initialize("/dev/efuse"); ^~~~~~~~~~~~~~~~~~~~~~ esp32_mmcsd_initialize ```
This commit is contained in:
parent
39e9a17e60
commit
cab24374b5
@ -36,9 +36,15 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <errno.h>
|
||||
#if defined(CONFIG_ESP32_EFUSE)
|
||||
#include <nuttx/efuse/efuse.h>
|
||||
#endif
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/himem/himem.h>
|
||||
|
||||
#if defined(CONFIG_ESP32_EFUSE)
|
||||
#include "esp32_efuse.h"
|
||||
#endif
|
||||
#include "esp32_partition.h"
|
||||
|
||||
#ifdef CONFIG_USERLED
|
||||
|
@ -36,9 +36,15 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <errno.h>
|
||||
#if defined(CONFIG_ESP32_EFUSE)
|
||||
#include <nuttx/efuse/efuse.h>
|
||||
#endif
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/himem/himem.h>
|
||||
|
||||
#if defined(CONFIG_ESP32_EFUSE)
|
||||
#include "esp32_efuse.h"
|
||||
#endif
|
||||
#include "esp32_partition.h"
|
||||
|
||||
#ifdef CONFIG_USERLED
|
||||
|
Loading…
x
Reference in New Issue
Block a user