From 2ffcd782b06b3c3143e7bcd6efa4dabf88f7360f Mon Sep 17 00:00:00 2001 From: Kristoffer Richardsson Date: Sun, 25 Oct 2015 08:41:23 +0100 Subject: [PATCH] #69 Added debug print to assert --- utils/src/cfassert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/src/cfassert.c b/utils/src/cfassert.c index 7b80522525..0438884fea 100644 --- a/utils/src/cfassert.c +++ b/utils/src/cfassert.c @@ -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);