kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/bootloader_assert' into 'master'
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set Closes IDFGH-5811 See merge request espressif/esp-idf!19915pull/9721/head
commit
326b6a929e
|
@ -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) {
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue