mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
CS is now software controlled. Otherwise ESP has problems with receiving data over SPI
This commit is contained in:
@ -27,7 +27,7 @@ private:
|
||||
uint32_t _clkDiv;
|
||||
uint32_t *spi_fifo;
|
||||
const uint32_t hspi_port = 1;
|
||||
const uint32_t hspi_fifo_size = 32;
|
||||
const uint32_t hspi_fifo_size = 16;
|
||||
|
||||
private:
|
||||
inline void hspi_wait_ready(void){while (READ_PERI_REG(SPI_FLASH_CMD(hspi_port))&SPI_FLASH_USR);}
|
||||
|
Reference in New Issue
Block a user