summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMin Xu <min.xu@min-info.net>2014-10-25 20:41:40 +0200
committerHarald Welte <laforge@gnumonks.org>2014-11-11 22:30:54 +0100
commit82cb631bf93e7bca818824d36cfd8213fe7f9836 (patch)
treef163b23830b3eb1aace68ba0d9bcc1ed2d9b346f /firmware
parente39637e1b816d841e94f2a32f9bf18e0ee89269e (diff)
watchdog: print watchdog expiration even in non-debug builds
Diffstat (limited to 'firmware')
-rw-r--r--firmware/src/os/wdt.c4
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)
personal git repositories of Harald Welte. Your mileage may vary