mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled
This commit is contained in:
@@ -75,6 +75,10 @@ extern "C" {
|
||||
9, 8, 7, 6, 5, 4, 3, 2, 1, 0
|
||||
#endif
|
||||
|
||||
#ifndef ESP_UNUSED
|
||||
#define ESP_UNUSED(x) ((void)(x))
|
||||
#endif
|
||||
|
||||
/* test macros */
|
||||
#define foo_args(...) 1
|
||||
#define foo_no_args() 2
|
||||
|
Reference in New Issue
Block a user