mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Add static qualifier to s_light_sleep_wakeup variable to prevent it from being global.
Closes https://github.com/espressif/esp-idf/pull/2793
This commit is contained in:
parent
8b72dc9fb0
commit
02da4154a1
@ -81,7 +81,9 @@ static sleep_config_t s_config = {
|
||||
.wakeup_triggers = 0
|
||||
};
|
||||
|
||||
bool s_light_sleep_wakeup = false;
|
||||
/* Internal variable used to track if light sleep wakeup sources are to be
|
||||
expected when determining wakeup cause. */
|
||||
static bool s_light_sleep_wakeup = false;
|
||||
|
||||
/* Updating RTC_MEMORY_CRC_REG register via set_rtc_memory_crc()
|
||||
is not thread-safe. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user