mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bugfix (esp_timer): made os spinlock static
This commit is contained in:
parent
d1dc30fd70
commit
1f75fc0aa1
@ -45,7 +45,7 @@ static intr_handler_t s_alarm_handler = NULL;
|
||||
static systimer_hal_context_t systimer_hal;
|
||||
|
||||
/* Spinlock used to protect access to the hardware registers. */
|
||||
portMUX_TYPE s_time_update_lock = portMUX_INITIALIZER_UNLOCKED;
|
||||
static portMUX_TYPE s_time_update_lock = portMUX_INITIALIZER_UNLOCKED;
|
||||
|
||||
void esp_timer_impl_lock(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user