Fix onboard SD card support for Teensy 3.6 & 4.1 (#19593)

This commit is contained in:
bilsef
2020-10-02 15:08:50 -07:00
committed by GitHub
parent 4e8eea8e78
commit e8a62ee3cf
2 changed files with 20 additions and 0 deletions

View File

@@ -84,6 +84,11 @@ uint8_t const SD_CARD_TYPE_SD1 = 1, // Standard capacity V1
#define SOFTWARE_SPI
#endif
#if IS_TEENSY_35_36 || IS_TEENSY_40_41
#include "NXP_SDHC.h"
#define BUILTIN_SDCARD 254
#endif
/**
* \class Sd2Card
* \brief Raw access to SD and SDHC flash memory cards.