kopia lustrzana https://github.com/micropython/micropython
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
rodzic
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
|
||||
|
|
Ładowanie…
Reference in New Issue