Skip to content

Commit 8ce762d

Browse files
ficetoficeto
ficeto
authored and
ficeto
committed
increase SD Card SPI Speed
1 parent 85aac8a commit 8ce762d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/SD/src/utility/Sd2Card.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
#ifdef ESP8266
3030
#include "SPI.h"
31-
uint32_t const SPI_FULL_SPEED = 4000000;
32-
uint32_t const SPI_HALF_SPEED = 2000000;
33-
uint32_t const SPI_QUARTER_SPEED = 1000000;
31+
uint32_t const SPI_FULL_SPEED = 8000000;
32+
uint32_t const SPI_HALF_SPEED = 4000000;
33+
uint32_t const SPI_QUARTER_SPEED = 2000000;
3434
#else
3535
/** Set SCK to max rate of F_CPU/2. See Sd2Card::setSckRate(). */
3636
uint8_t const SPI_FULL_SPEED = 0;

0 commit comments

Comments
 (0)