mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-11 04:21:51 +01:00
Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo. (Line endings, blank lines at end of file, trailing whitespace)
This commit is contained in:
@@ -32,7 +32,7 @@ static portMUX_TYPE hooks_spinlock = portMUX_INITIALIZER_UNLOCKED;
|
||||
static esp_freertos_idle_cb_t idle_cb[portNUM_PROCESSORS][MAX_HOOKS]={0};
|
||||
static esp_freertos_tick_cb_t tick_cb[portNUM_PROCESSORS][MAX_HOOKS]={0};
|
||||
|
||||
void IRAM_ATTR esp_vApplicationTickHook(void)
|
||||
void IRAM_ATTR esp_vApplicationTickHook(void)
|
||||
{
|
||||
int n;
|
||||
int core = xPortGetCoreID();
|
||||
@@ -43,7 +43,7 @@ void IRAM_ATTR esp_vApplicationTickHook(void)
|
||||
}
|
||||
}
|
||||
|
||||
void esp_vApplicationIdleHook(void)
|
||||
void esp_vApplicationIdleHook(void)
|
||||
{
|
||||
bool can_go_idle=true;
|
||||
int core = xPortGetCoreID();
|
||||
@@ -102,7 +102,7 @@ esp_err_t esp_register_freertos_tick_hook_for_cpu(esp_freertos_tick_cb_t new_tic
|
||||
return ESP_ERR_NO_MEM;
|
||||
}
|
||||
|
||||
esp_err_t esp_register_freertos_tick_hook(esp_freertos_tick_cb_t new_tick_cb)
|
||||
esp_err_t esp_register_freertos_tick_hook(esp_freertos_tick_cb_t new_tick_cb)
|
||||
{
|
||||
return esp_register_freertos_tick_hook_for_cpu(new_tick_cb, xPortGetCoreID());
|
||||
}
|
||||
@@ -148,4 +148,3 @@ void esp_deregister_freertos_tick_hook(esp_freertos_tick_cb_t old_tick_cb)
|
||||
}
|
||||
portEXIT_CRITICAL(&hooks_spinlock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user