Fix SD connection for some boards

This commit is contained in:
Scott Lahteine 2020-04-16 01:57:07 -05:00
parent 880f63b008
commit 3a9f8a00bf
3 changed files with 3 additions and 3 deletions

View file

@ -142,7 +142,7 @@
#define SDIO_CK_PIN PC12
#define SDIO_CMD_PIN PD2
#if !defined(SDCARD_CONNECTION) || SDCARD_CONNECTION == ONBOARD
#if !defined(SDCARD_CONNECTION) || SD_CONNECTION_IS(ONBOARD)
#define SDIO_SUPPORT // Use SDIO for onboard SD
#ifndef SDIO_SUPPORT

View file

@ -164,7 +164,7 @@
#define SDIO_CK_PIN PC12
#define SDIO_CMD_PIN PD2
#if !defined(SDCARD_CONNECTION) || SDCARD_CONNECTION == ONBOARD
#if !defined(SDCARD_CONNECTION) || SD_CONNECTION_IS(ONBOARD)
#define SDIO_SUPPORT // Use SDIO for onboard SD
#ifndef SDIO_SUPPORT

View file

@ -239,7 +239,7 @@
#define SDCARD_CONNECTION ONBOARD
#endif
#if SDCARD_CONNECTION == ONBOARD
#if SD_CONNECTION_IS(ONBOARD)
#define SDIO_SUPPORT // Use SDIO for onboard SD
#ifndef SDIO_SUPPORT