make the debug prints in check_maca more specific

This commit is contained in:
Mariano Alvira 2010-07-14 13:58:47 -04:00
parent d75d193762
commit 6db3b903d2

View file

@ -133,11 +133,12 @@ void check_maca(void) {
} else { } else {
if((last_time > (*MACA_SFTCLK + RECV_SOFTIMEOUT)) && if((last_time > (*MACA_SFTCLK + RECV_SOFTIMEOUT)) &&
(last_time > (*MACA_CPLCLK + CPL_TIMEOUT))) { (last_time > (*MACA_CPLCLK + CPL_TIMEOUT))) {
PRINTF("check maca: complete clocks expired --- forcing isr\n"); PRINTF("check maca: complete clocks expired\n");
/* all complete clocks have expired */ /* all complete clocks have expired */
/* check that maca entry is changing */ /* check that maca entry is changing */
/* if not, do call the isr to restart the cycle */ /* if not, do call the isr to restart the cycle */
if(last_entry == maca_entry) { if(last_entry == maca_entry) {
PRINTF("check maca: forcing isr\n");
*INTFRC = (1<<INT_NUM_MACA); *INTFRC = (1<<INT_NUM_MACA);
} }
} }