mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(ci): suppress GNU static analyzer warnings
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/freertos_debug.h"
|
||||
#include "esp_err.h"
|
||||
#include "esp_macros.h"
|
||||
#include "esp_attr.h"
|
||||
#include "esp_check.h"
|
||||
#include "esp_log.h"
|
||||
@@ -420,11 +421,11 @@ static void task_wdt_timeout_handling(int cores_fail, bool panic)
|
||||
esp_crosscore_int_send_twdt_abort(other_core);
|
||||
/* We are going to abort, on the other core, we have nothing to
|
||||
* do anymore here, just wait until we crash */
|
||||
while (1) {}
|
||||
ESP_INFINITE_LOOP();
|
||||
} else if (cores_fail & BIT(other_core)) {
|
||||
/* If only the other core is failing, we can tell it to abort. */
|
||||
esp_crosscore_int_send_twdt_abort(other_core);
|
||||
while (1) {}
|
||||
ESP_INFINITE_LOOP();
|
||||
}
|
||||
#endif // !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
|
||||
/* Current core is failing, abort right now */
|
||||
|
||||
Reference in New Issue
Block a user