Skip to content

Commit

Permalink
#69 Added debug print to assert
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Oct 25, 2015
1 parent 226cbbe commit 2ffcd78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/src/cfassert.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ void storeAssertSnapshotData(char *file, int line);
void assertFail(char *exp, char *file, int line)
{
storeAssertSnapshotData(file, line);
DEBUG_PRINT("Assert failed %s:%d\n", file, line);

ledClearAll();
ledSet(ERR_LED1, 1);
Expand Down

0 comments on commit 2ffcd78

Please sign in to comment.