Browse Source

Default to 16 MHz SPI clock speed

main
PaulStoffregen 4 years ago
parent
commit
159feec5a7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/SD.h

+ 1
- 1
src/SD.h View File

//return sdfs.begin(SdioConfig(DMA_SDIO)); //return sdfs.begin(SdioConfig(DMA_SDIO));
} }
#endif #endif
return sdfs.begin(SdSpiConfig(csPin, SHARED_SPI, SD_SCK_MHZ(24)));
return sdfs.begin(SdSpiConfig(csPin, SHARED_SPI, SD_SCK_MHZ(16)));
//return sdfs.begin(csPin, SD_SCK_MHZ(24)); //return sdfs.begin(csPin, SD_SCK_MHZ(24));
} }
File open(const char *filepath, uint8_t mode = FILE_READ) { File open(const char *filepath, uint8_t mode = FILE_READ) {

Loading…
Cancel
Save