//return sdfs.begin(SdioConfig(DMA_SDIO)); | //return sdfs.begin(SdioConfig(DMA_SDIO)); | ||||
} | } | ||||
#endif | #endif | ||||
return sdfs.begin(csPin, SD_SCK_MHZ(24)); | |||||
return sdfs.begin(SdSpiConfig(csPin, SHARED_SPI, 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) { | ||||
oflag_t flags = O_READ; | oflag_t flags = O_READ; |