omg spi was slow and now it is fast

master
Firmware Batman 2017-05-16 21:58:38 -07:00
parent ac162e3aa9
commit 43fb2ee966
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ void ICACHE_FLASH_ATTR user_init()
// configure SPI
SpiAttr hSpiAttr;
hSpiAttr.bitOrder = SpiBitOrder_MSBFirst;
hSpiAttr.speed = SpiSpeed_0_5MHz;
hSpiAttr.speed = SpiSpeed_10MHz;
hSpiAttr.mode = SpiMode_Master;
hSpiAttr.subMode = SpiSubMode_0;