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:
YAMAMOTO Takashi 2022-03-17 13:03:18 +09:00 committed by Xiang Xiao
parent 39e9a17e60
commit cab24374b5
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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