mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
Closes https://github.com/espressif/esp-idf/pull/7518
This commit is contained in:
parent
779d880580
commit
a77dce6979
@ -12,7 +12,11 @@
|
||||
|
||||
void __assert_func(const char *file, int line, const char *func, const char *expr)
|
||||
{
|
||||
|
||||
#if !CONFIG_OPTIMIZATION_ASSERTIONS_SILENT
|
||||
esp_rom_printf("Assert failed in %s, %s:%d (%s)\r\n", func, file, line, expr);
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user