mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-14 22:16:46 +00:00
refactor(system): reformated esp_timer, linux and log comp with astyle
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2017-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -112,10 +112,10 @@ static void IRAM_ATTR timer_alarm_isr(void *arg)
|
||||
(*s_alarm_handler)(arg);
|
||||
|
||||
portENTER_CRITICAL_ISR(&s_time_update_lock);
|
||||
// Another alarm could have occurred while were handling the previous alarm.
|
||||
// Check if we need to call the s_alarm_handler again:
|
||||
// 1) if the alarm has already been fired, it helps to handle it immediately without an additional ISR call.
|
||||
// 2) handle pending alarm that was cleared by the other core in time when this core worked with the current alarm.
|
||||
// Another alarm could have occurred while were handling the previous alarm.
|
||||
// Check if we need to call the s_alarm_handler again:
|
||||
// 1) if the alarm has already been fired, it helps to handle it immediately without an additional ISR call.
|
||||
// 2) handle pending alarm that was cleared by the other core in time when this core worked with the current alarm.
|
||||
} while (systimer_ll_is_alarm_int_fired(systimer_hal.dev, SYSTIMER_ALARM_ESPTIMER) || pending_alarm);
|
||||
processed_by = NOT_USED;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user