spi_flash: add missing volatile qualifier for lock flags
http://esp32.com/viewtopic.php?f=14&t=419&p=1901
This commit is contained in:
parent
13b3c916f3
commit
aa0cd0ab47
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue