From 87f1e4839a6282016c598bfaf8e665e071864269 Mon Sep 17 00:00:00 2001 From: Eric Helgeson Date: Sun, 17 Jan 2021 20:04:42 -0600 Subject: [PATCH] 38% increase by using DEDICATED_SPI vs SHARED_SPI --- ArdSCSinoV2/ArdSCSinoV2.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArdSCSinoV2/ArdSCSinoV2.ino b/ArdSCSinoV2/ArdSCSinoV2.ino index 54c46a7..29b280c 100644 --- a/ArdSCSinoV2/ArdSCSinoV2.ino +++ b/ArdSCSinoV2/ArdSCSinoV2.ino @@ -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