Skip to content

Commit

Permalink
🔧 Longer LK prefer Onboard SD
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and tpruvot committed Nov 3, 2024
1 parent 5908e2e commit 01346fb
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 @@ -2597,7 +2597,6 @@
* you must uncomment the following option or it won't work.
*/
#define SDSUPPORT
#define ONBOARD_SDIO // seems required even with SDCARD_CONNECTION ONBOARD

/**
* 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 01346fb

Please sign in to comment.