Index: firmware/App/Services/Interrupts.c =================================================================== diff -u -r30f049651877229042e3f8700c8596e5b9a1e0f4 -r88ee6f3dce69a3dadb012bb8a39c3fd167ba0afd --- firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision 30f049651877229042e3f8700c8596e5b9a1e0f4) +++ firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision 88ee6f3dce69a3dadb012bb8a39c3fd167ba0afd) @@ -254,12 +254,13 @@ if ( ( flags & SCI_FE_INT ) != 0 ) { sci2FrameErrorCnt++; - clearSCI2CommErrors(); + clearSCI2CommErrors(); +#ifndef DEBUG_ENABLED if ( TRUE == incTimeWindowedCount( TIME_WINDOWED_COUNT_FPGA_UART_FRAME_ERROR ) ) { SET_ALARM_WITH_1_U32_DATA( ALARM_ID_HD_SOFTWARE_FAULT, SW_FAULT_ID_FPGA_UART_FRAME_ERROR ) } -#ifdef DEBUG_ENABLED +#else sprintf( debugStr, "FPGA UART FR err:%5d \n", sci2FrameErrorCnt ); sendDebugData( (U08*)debugStr, strlen(debugStr) ); sendDebugDataToUI( (U08*)debugStr ); @@ -268,12 +269,13 @@ if ( ( flags & SCI_OE_INT ) != 0 ) { sci2OverrunErrorCnt++; - clearSCI2CommErrors(); + clearSCI2CommErrors(); +#ifndef DEBUG_ENABLED if ( TRUE == incTimeWindowedCount( TIME_WINDOWED_COUNT_FPGA_UART_OVERRUN ) ) { SET_ALARM_WITH_1_U32_DATA( ALARM_ID_HD_SOFTWARE_FAULT, SW_FAULT_ID_FPGA_UART_OVERRUN_ERROR ) } -#ifdef DEBUG_ENABLED +#else sprintf( debugStr, "FPGA UART OR err:%5d \n", sci2OverrunErrorCnt ); sendDebugData( (U08*)debugStr, strlen(debugStr) ); sendDebugDataToUI( (U08*)debugStr );