38% increase by using DEDICATED_SPI vs SHARED_SPI

This commit is contained in:
Eric Helgeson 2021-01-17 20:04:42 -06:00
parent 1211f722f6
commit 87f1e4839a

View File

@ -61,7 +61,7 @@
#define MAX_BLOCKSIZE 1024 // Maximum BLOCK size
// SDFAT
#define SD1_CONFIG SdSpiConfig(PA4, SHARED_SPI, SD_SCK_MHZ(SPI_FULL_SPEED), &SPI)
#define SD1_CONFIG SdSpiConfig(PA4, DEDICATED_SPI, SD_SCK_MHZ(SPI_FULL_SPEED), &SPI)
SdFs SD;
#if DEBUG