kopia lustrzana https://github.com/espressif/esp-idf
spi_flash: add missing volatile qualifier for lock flags
http://esp32.com/viewtopic.php?f=14&t=419&p=1901pull/89/merge
rodzic
13b3c916f3
commit
aa0cd0ab47
|
@ -38,8 +38,8 @@ static uint32_t s_flash_op_cache_state[2];
|
|||
|
||||
#ifndef CONFIG_FREERTOS_UNICORE
|
||||
static SemaphoreHandle_t s_flash_op_mutex;
|
||||
static bool s_flash_op_can_start = false;
|
||||
static bool s_flash_op_complete = false;
|
||||
static volatile bool s_flash_op_can_start = false;
|
||||
static volatile bool s_flash_op_complete = false;
|
||||
|
||||
void spi_flash_init_lock()
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue