Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r469657f3a161804b5f5541c2b12d22c70eae78f0 -r7bd4510581254bc4e7292159c630a95b6ab4b368 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 469657f3a161804b5f5541c2b12d22c70eae78f0) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 7bd4510581254bc4e7292159c630a95b6ab4b368) @@ -343,10 +343,11 @@ static DG_FPGA_SENSORS_T fpgaSensorReadings; ///< DG FPGA sensors structure. static FPGA_ACTUATORS_T fpgaActuatorSetPoints; ///< FPGA actuator set points structure. static U08 fpgaReadByteSize; ///< FPGA read byte size. +#ifndef DEBUG_ENABLED static U16 currentFPGATimerCount_ms; ///< Current FPGA timer count in ms. static U32 currentTimerCount_ms; ///< Current processor timer count in ms. +#endif - // ********** private function prototypes ********** static FPGA_STATE_T handleFPGAReadHeaderState( void ); @@ -912,7 +913,6 @@ { SET_ALARM_WITH_2_U32_DATA( ALARM_ID_DG_FPGA_CLOCK_SPEED_CHECK_FAILURE, diffFPGATimerCount, diffTimerCount ); } - } } Index: firmware/App/Services/SystemComm.c =================================================================== diff -u -r8b9dd16bff3c3a7debdbd4c1f0c06759fe97d0bf -r7bd4510581254bc4e7292159c630a95b6ab4b368 --- firmware/App/Services/SystemComm.c (.../SystemComm.c) (revision 8b9dd16bff3c3a7debdbd4c1f0c06759fe97d0bf) +++ firmware/App/Services/SystemComm.c (.../SystemComm.c) (revision 7bd4510581254bc4e7292159c630a95b6ab4b368) @@ -142,7 +142,7 @@ initTimeWindowedCount( TIME_WINDOWED_COUNT_BAD_MSG_CRC, MAX_COMM_CRC_FAILURES, MAX_COMM_CRC_FAILURE_WINDOW_MS ); // initialize FPGA clock speed error time windowed count - initTimeWindowedCount( TIME_WINDOWED_COUNT_FPGA_CLOCK_SPEED_ERROR, MAX_FPGA_CLOCK_SPEED_ERRORS, MAX_FPGA_CLOCK_SPEED_ERROR_WINDOW_MS); // DN-16SEPT2022 + initTimeWindowedCount( TIME_WINDOWED_COUNT_FPGA_CLOCK_SPEED_ERROR, MAX_FPGA_CLOCK_SPEED_ERRORS, MAX_FPGA_CLOCK_SPEED_ERROR_WINDOW_MS); // initialize pending ACK list for ( i = 0; i < PENDING_ACK_LIST_SIZE; i++ )