Optimize performance: 4-bit SD_MMC, write-only SPI, and hardware byte swapping
This commit is contained in:
@@ -11,8 +11,8 @@ void SD_Init() {
|
||||
printf("SD MMC: Pin change failed!\r\n");
|
||||
return;
|
||||
}
|
||||
if (SD_MMC.begin("/sdcard", true, true)) {
|
||||
printf("SD card initialization successful!\r\n");
|
||||
if (SD_MMC.begin("/sdcard", false, true)) {
|
||||
printf("SD card initialization successful (4-bit mode)!\r\n");
|
||||
} else {
|
||||
printf("SD card initialization failed!\r\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user