diff options
author | Min Xu <min.xu@min-info.net> | 2014-10-25 20:41:40 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-11-11 22:30:54 +0100 |
commit | 82cb631bf93e7bca818824d36cfd8213fe7f9836 (patch) | |
tree | f163b23830b3eb1aace68ba0d9bcc1ed2d9b346f | |
parent | e39637e1b816d841e94f2a32f9bf18e0ee89269e (diff) |
watchdog: print watchdog expiration even in non-debug builds
-rw-r--r-- | firmware/src/os/wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/src/os/wdt.c b/firmware/src/os/wdt.c index 99d86a1..d5c19a3 100644 --- a/firmware/src/os/wdt.c +++ b/firmware/src/os/wdt.c @@ -33,9 +33,9 @@ static void wdt_irq(u_int32_t sr) { if (sr & 1) - DEBUGPCRF("================> WATCHDOG EXPIRED !!!!!"); + AT91F_DBGU_Frame("================> WATCHDOG EXPIRED !!!!!\n\r"); if (sr & 2) - DEBUGPCRF("================> WATCHDOG ERROR !!!!!"); + AT91F_DBGU_Frame("================> WATCHDOG ERROR !!!!!\n\r"); } void wdt_restart(void) |