Index: firmware/App/Services/Interrupts.c =================================================================== diff -u -rc67def50892f9a7c2f1f22985b5351465a8f6773 -r30f049651877229042e3f8700c8596e5b9a1e0f4 --- firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision c67def50892f9a7c2f1f22985b5351465a8f6773) +++ firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision 30f049651877229042e3f8700c8596e5b9a1e0f4) @@ -77,7 +77,7 @@ *************************************************************************/ void initInterrupts( void ) { - // initialize various time windowed counts for monitoring CAN & UART errors and warnings + // Initialize various time windowed counts for monitoring CAN & UART errors and warnings initTimeWindowedCount( TIME_WINDOWED_COUNT_CAN_PASSIVE, MAX_COMM_ERRORS, COMM_ERROR_TIME_WINDOW_MS ); initTimeWindowedCount( TIME_WINDOWED_COUNT_CAN_OFF, MAX_COMM_ERRORS, COMM_ERROR_TIME_WINDOW_MS ); initTimeWindowedCount( TIME_WINDOWED_COUNT_CAN_PARITY, MAX_COMM_ERRORS, COMM_ERROR_TIME_WINDOW_MS ); @@ -127,7 +127,7 @@ break; case rtiNOTIFICATION_COMPARE2: - // do nothing - unused at this time + // Do nothing - unused at this time break; case rtiNOTIFICATION_COMPARE3: @@ -227,7 +227,7 @@ } else { - // ignore - other notifications undefined + // Ignore - other notifications undefined } } } @@ -314,7 +314,7 @@ *************************************************************************/ void dmaGroupANotification(dmaInterrupt_t inttype, uint32 channel) { - if ( inttype == BTC ) // block transfer completed interrupt + if ( inttype == BTC ) // Block transfer completed interrupt { switch ( channel ) { @@ -326,7 +326,7 @@ #ifdef DEBUG_ENABLED case DMA_CH1: // PC receive channel clearSCI1DMAReceiveInterrupt(); - // handle received packet from PC + // Handle received packet from PC handleUARTMsgRecvPacketInterrupt(); break; #endif @@ -338,7 +338,7 @@ #ifdef DEBUG_ENABLED case DMA_CH3: // PC transmit channel clearSCI1DMATransmitInterrupt(); - // send next pending packet to PC (if any) + // Send next pending packet to PC (if any) handleUARTMsgXmitPacketInterrupt(); break; #endif