mimxrt/sdio: Move config guard so headers are only included if used.
Otherwise it's a build error on certain MCU series. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
297892c4f4
commit
671b38f944
@ -30,11 +30,11 @@
|
||||
#include "pin.h"
|
||||
#include "pendsv.h"
|
||||
|
||||
#if MICROPY_PY_NETWORK_CYW43
|
||||
|
||||
#include "fsl_usdhc.h"
|
||||
#include "fsl_iomuxc.h"
|
||||
|
||||
#if MICROPY_PY_NETWORK_CYW43
|
||||
|
||||
#if MICROPY_HW_SDIO_SDMMC == 1
|
||||
#define SDMMC USDHC1
|
||||
#define SDMMC_IRQn USDHC1_IRQn
|
||||
|
Loading…
Reference in New Issue
Block a user