HAS_SDCARD_CONNECTION is more obsolete

This commit is contained in:
Scott Lahteine
2020-02-25 22:30:16 -06:00
parent 5071fe82ab
commit 5b438fb20d
4 changed files with 19 additions and 15 deletions

View File

@ -182,6 +182,10 @@
// Misc. Functions
//
#ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION LCD
#endif
//
// Onboard SD card
// NOT compatible with LCD

View File

@ -236,7 +236,11 @@
#define SDIO_CK_PIN 28 // PC12 SDIO_CK
#define SDIO_CMD_PIN 29 // PD2 SDIO_CMD
#if !defined(SDCARD_CONNECTION) || SDCARD_CONNECTION == ONBOARD
#ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD
#endif
#if SDCARD_CONNECTION == ONBOARD
#define SDIO_SUPPORT // Use SDIO for onboard SD
#ifndef SDIO_SUPPORT