mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
increase SD Card SPI Speed
This commit is contained in:
parent
85aac8af89
commit
8ce762db16
@ -28,9 +28,9 @@
|
||||
|
||||
#ifdef ESP8266
|
||||
#include "SPI.h"
|
||||
uint32_t const SPI_FULL_SPEED = 4000000;
|
||||
uint32_t const SPI_HALF_SPEED = 2000000;
|
||||
uint32_t const SPI_QUARTER_SPEED = 1000000;
|
||||
uint32_t const SPI_FULL_SPEED = 8000000;
|
||||
uint32_t const SPI_HALF_SPEED = 4000000;
|
||||
uint32_t const SPI_QUARTER_SPEED = 2000000;
|
||||
#else
|
||||
/** Set SCK to max rate of F_CPU/2. See Sd2Card::setSckRate(). */
|
||||
uint8_t const SPI_FULL_SPEED = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user