diff --git a/firmware/debug.c b/firmware/debug.c index 6a30c6076a..38823107e3 100644 --- a/firmware/debug.c +++ b/firmware/debug.c @@ -33,6 +33,7 @@ static char debugbuf[200]; void debug_init(void) { +#if CONFIG_CPU == SH7034 /* Clear it all! */ SSR1 &= ~(SCI_RDRF | SCI_ORER | SCI_PER | SCI_FER); @@ -41,6 +42,7 @@ void debug_init(void) SCR1 |= 0x40; SCR1 &= ~0x80; IPRE |= 0xf000; /* Set to highest priority */ +#endif } #ifdef DEBUG