mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-11 05:49:29 +00:00
run SPI at full speed
This commit is contained in:
parent
f695982620
commit
8ff7ef8798
@ -20,7 +20,8 @@ bool hardware_reset() {
|
||||
extern SPIClass SPIRAM_DEV;
|
||||
SPIRAM_DEV.begin();
|
||||
SPIRAM_DEV.setModule(SPIRAM_SPI);
|
||||
SPIRAM_DEV.setClockDivider(SPI_CLOCK_DIV8);
|
||||
// SPIRAM_DEV.setClockDivider(SPI_CLOCK_DIV2);
|
||||
SPIRAM_DEV.setClockDivider(1);
|
||||
SPIRAM_DEV.setDataMode(SPI_MODE0);
|
||||
|
||||
bool sd = SD.begin(SD_CS, 2, SD_SPI);
|
||||
|
Loading…
Reference in New Issue
Block a user