Skip to content
Snippets Groups Projects
Commit acd7728d authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

Merge pull request #4357 from OlegHahm/assert_WARNER

core: make assertions easier to spot
parents 03b1d861 d86f1af3
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
#include "ps.h"
#endif
const char assert_crash_message[] = "Failed assertion.";
const char assert_crash_message[] = "FAILED ASSERTION.";
/* flag preventing "recursive crash printing loop" */
static int crashed = 0;
......@@ -53,8 +53,9 @@ NORETURN void core_panic(core_panic_t crash_code, const char *message)
cpu_print_last_instruction();
}
#endif
puts("*** RIOT kernel panic");
puts("*** RIOT kernel panic:");
puts(message);
puts("");
#ifdef DEVELHELP
#ifdef MODULE_PS
ps();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment