mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-01 05:21:17 +00:00
fix(spi_flash): Fix spi_flash write fail on 26M C2(including OTA fail on this chip)
This commit is contained in:
@@ -128,8 +128,9 @@ static inline void gpspi_flash_ll_set_buffer_data(spi_dev_t *dev, const void *bu
|
||||
* should be configured before this is called.
|
||||
*
|
||||
* @param dev Beginning address of the peripheral registers.
|
||||
* @param pe_ops Is page program/erase operation or not. (not used in gpspi)
|
||||
*/
|
||||
static inline void gpspi_flash_ll_user_start(spi_dev_t *dev)
|
||||
static inline void gpspi_flash_ll_user_start(spi_dev_t *dev, bool pe_ops)
|
||||
{
|
||||
dev->cmd.usr = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user