mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
esp32: Remove trialing semicolon from function-like macros
This commit removes trailing semicolons following a while(0) from function-like macros in IDF. This will force those macros to be called with a semicolon when called.
This commit is contained in:
@@ -282,7 +282,7 @@ inline static uint32_t get_ccount(void)
|
||||
if (!esp_ptr_executable(callers[N])) { \
|
||||
return; \
|
||||
} \
|
||||
} while(0);
|
||||
} while(0)
|
||||
|
||||
/* Static function to read the call stack for a traced heap call.
|
||||
|
||||
|
Reference in New Issue
Block a user