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:
Damien George 2023-09-05 11:03:08 +10:00
parent 297892c4f4
commit 671b38f944

View File

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