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>
pull/12365/head
Damien George 2023-09-05 11:03:08 +10:00
rodzic 297892c4f4
commit 671b38f944
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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