Print some more informative text when assertion fails
@@ -37,6 +37,8 @@ _xassert(const char *file, int lineno)
printf("Assertion failed: file %s, line %d.\n", file, lineno);
#if !ASSERT_RETURNS
+ printf("The firmware will stop running\n");
+ printf("A watchdog timer may restart this device\n");
while(1);
#endif
}
