1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-18 14:29:32 +00:00

esp8266 + SpiRAM

This commit is contained in:
Stephen Crane 2021-02-15 21:00:20 +00:00
parent d5945fa104
commit 68fb0f7d3f

View File

@ -31,7 +31,9 @@ bool hardware_reset() {
#if defined(USE_SPIRAM)
extern SPIClass SPIRAM_DEV;
SPIRAM_DEV.begin();
#if defined(SPIRAM_SPI)
SPIRAM_DEV.setModule(SPIRAM_SPI);
#endif
SPIRAM_DEV.setClockDivider(1);
SPIRAM_DEV.setDataMode(SPI_MODE0);
#endif