Skip to content

Commit 0cab365

Browse files
committed
Hostmot2: Fix #513 - Cause an error message to show on watchdog timeout.
Signed-off-by: andy pugh <andy@bodgesoc.org>
1 parent 2e8f4d3 commit 0cab365

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hal/drivers/mesa-hostmot2/watchdog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void hm2_watchdog_process_tram_read(hostmot2_t *hm2) {
4747
// last time we were here, everything was fine
4848
// see if the watchdog has bit since then
4949
if (hm2->watchdog.status_reg[0] & 0x1) {
50-
HM2_PRINT("Watchdog has bit! (set the .has-bit pin to False to resume)\n");
50+
HM2_ERR("Watchdog has bit! (set the .has-bit pin to False to resume)\n");
5151
*hm2->watchdog.instance[0].hal.pin.has_bit = 1;
5252
hm2->llio->needs_reset = 1;
5353
}

0 commit comments

Comments
 (0)