Skip to content

Commit

Permalink
🔧 Longer LK prefer Onboard SD
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Nov 3, 2024
1 parent 7bc135e commit b380822
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2593,7 +2593,6 @@
* you must uncomment the following option or it won't work.
*/
#define SDSUPPORT
#define SDIO_SUPPORT // Note from Hobi : Added as was not present in the file...

/**
* SD CARD: ENABLE CRC
Expand Down
10 changes: 9 additions & 1 deletion Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,15 @@
#define LCD_BRIGHTNESS_DEFAULT TFT_BACKLIGHT_PWM
#endif

#if ENABLED(ONBOARD_SDIO)
//
// SD Support
//
#ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD
#endif

#if SD_CONNECTION_IS(ONBOARD)
#define ONBOARD_SDIO
#define SD_SS_PIN -1 // else SDSS set to PA4 in M43 (spi_pins.h)
#endif

Expand Down

0 comments on commit b380822

Please sign in to comment.