Skip to content

Commit 89d8bfd

Browse files
bilsefkpishere
authored andcommitted
Fix onboard SD card support for Teensy 3.6 & 4.1 (MarlinFirmware#19593)
1 parent 84dc138 commit 89d8bfd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Marlin/src/sd/Sd2Card.h

+5
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ uint8_t const SD_CARD_TYPE_SD1 = 1, // Standard capacity V1
8484
#define SOFTWARE_SPI
8585
#endif
8686

87+
#if IS_TEENSY_35_36 || IS_TEENSY_40_41
88+
#include "NXP_SDHC.h"
89+
#define BUILTIN_SDCARD 254
90+
#endif
91+
8792
/**
8893
* \class Sd2Card
8994
* \brief Raw access to SD and SDHC flash memory cards.

0 commit comments

Comments
 (0)