فهرست منبع

Merge branch 'bugfix/esp_timer_mux_static' into 'master'

bugfix (esp_timer): made os spinlock static

See merge request espressif/esp-idf!19112
Jakob Hasse 3 سال پیش
والد
کامیت
45b3662c3a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      components/esp_timer/src/esp_timer_impl_systimer.c

+ 1 - 1
components/esp_timer/src/esp_timer_impl_systimer.c

@@ -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)
 {