diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/ods68302/startup/trace.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/ods68302/startup/trace.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/trace.c b/c/src/lib/libbsp/m68k/ods68302/startup/trace.c index a712c0bb52..7d0945bc9a 100644 --- a/c/src/lib/libbsp/m68k/ods68302/startup/trace.c +++ b/c/src/lib/libbsp/m68k/ods68302/startup/trace.c @@ -1,7 +1,7 @@ /*****************************************************************************/ /* $Id$ - + Trace Exception dumps a back trace to the debug serial port */ @@ -135,13 +135,13 @@ void trace_exception(unsigned long d0, } else { - debug_port_out(' '); + debug_port_out(' '); } - + ch = (*(((char*) &index) + index) >> 4) & 0x0F; - + if (ch < 10) - { + { ch += '0'; } else @@ -152,9 +152,9 @@ void trace_exception(unsigned long d0, debug_port_out((char) ch); ch = *(((char*) &index) + index) & 0x0F; - + if (ch < 10) - { + { ch += '0'; } else @@ -167,9 +167,9 @@ void trace_exception(unsigned long d0, debug_port_write("\nhalting cpu..."); #if defined(UPDATE_DISPLAY) - UPDATE_DISPLAY("HALT"); + UPDATE_DISPLAY("HALT"); #endif - + WATCHDOG_TRIGGER(); while (1 == 1); } |