boards/mpfs: Fix the icicle build break
src/mpfs_emmcsd.c: In function 'mpfs_board_emmcsd_init': Error: src/mpfs_emmcsd.c:72:40: error: 'SDIO_SLOTNO' undeclared (first use in this function) finfo("Initializing SDIO slot %d\n", SDIO_SLOTNO); ^~~~~~~~~~~ src/mpfs_emmcsd.c:72:40: note: each undeclared identifier is reported only once for each function it appears in Error: src/mpfs_emmcsd.c:83:55: error: 'SDIO_MINOR' undeclared (first use in this function); did you mean 'SHRT_MIN'? finfo("Bind SDIO to the MMC/SD driver, minor=%d\n", SDIO_MINOR); Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
fe94670ca9
commit
ea0aadff1e
@ -27,6 +27,9 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#define SDIO_SLOTNO 0
|
||||
#define SDIO_MINOR 0
|
||||
|
||||
#define ICICLE_GPIO_LED1 (GPIO_BANK2 | GPIO_PIN19 | GPIO_OUTPUT)
|
||||
#define ICICLE_GPIO_LED2 (GPIO_BANK2 | GPIO_PIN18 | GPIO_OUTPUT)
|
||||
#define ICICLE_GPIO_LED3 (GPIO_BANK2 | GPIO_PIN17 | GPIO_OUTPUT)
|
||||
|
Loading…
Reference in New Issue
Block a user