Revision 392
trying to find the bug
proj/src/libs/uart/src/uart.c | ||
---|---|---|
449 | 449 |
int (nctp_get_ih_error)(void){ return nctp_ih_err; } |
450 | 450 |
void nctp_ih(void){ |
451 | 451 |
uint8_t iir; |
452 |
printf("l452\n"); |
|
452 | 453 |
if((nctp_ih_err = uart_get_iir(COM1_ADDR, &iir))) return; |
454 |
printf("l454\n"); |
|
453 | 455 |
if(UART_GET_IF_INT_PEND(iir)){ |
456 |
|
|
457 |
printf("l457\n"); |
|
454 | 458 |
switch(UART_GET_INT_PEND(iir)){ |
455 | 459 |
case uart_int_rx: nctp_receive (); break; |
456 | 460 |
case uart_int_tx: nctp_transmit(); break; |
... | ... | |
459 | 463 |
case uart_int_char_timeout_fifo: nctp_receive (); break; |
460 | 464 |
//default: break; |
461 | 465 |
} |
466 |
|
|
467 |
printf("l467\n"); |
|
462 | 468 |
} |
469 |
|
|
470 |
printf("l466\n"); |
|
463 | 471 |
} |
Also available in: Unified diff