Skip to content

Commit

Permalink
Bugfix for SD_MMC on NodeMCU
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Mar 3, 2024
1 parent c1d031b commit 273cfbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BSB_LAN/BSB_LAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -7761,10 +7761,10 @@ void startLoggingDevice() {
Serial.println(LogDestination);
#ifdef ESP32
if (LogDestination == SDCARD) {
#if defined(RX1) && defined(TX1) // Olimex EVB
SDCard = SD_MMC;
#else
#if (!defined(RX1) && !defined(TX1) && !defined(FORCE_SD_MMC_ON_NODEMCU)) // NodeMCU
SDCard = SD;
#else
SDCard = SD_MMC;
#endif
minimum_SD_size = 100000;
} else {
Expand Down

0 comments on commit 273cfbd

Please sign in to comment.