Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r9a7aa0eb2e11048600d3a189859217a82a854ebc -r6e3ae6638877132b2ffb1404d9f7759671754013 --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 9a7aa0eb2e11048600d3a189859217a82a854ebc) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 6e3ae6638877132b2ffb1404d9f7759671754013) @@ -297,8 +297,12 @@ // FPGA data static FPGA_HEADER_T fpgaHeader; ///< Record of last received FPGA header data. static FPGA_SENSORS_T fpgaSensorReadings; ///< Record of last received FPGA priority sensor data. -static FPGA_ACTUATORS_T fpgaActuatorSetPoints; ///< Record of next transmitted FPGA priority actuator data.static U32 fpgaReadByteSize; ///< FPGA read byte size. +static FPGA_ACTUATORS_T fpgaActuatorSetPoints; ///< Record of next transmitted FPGA priority actuator data. +// FPGA Clock Speed Test +static U16 currentFPGATimerCount_ms = 0; +static U32 currentTimerCount_ms = 0; + // ********** private function prototypes ********** static FPGA_STATE_T handleFPGAReadHeaderState( void ); @@ -867,9 +871,6 @@ * debugging. */ - static U16 currentFPGATimerCount_ms = 0; - static U32 currentTimerCount_ms = 0; - U16 const newFPGATimerCount_ms = getFPGATimerCount(); U32 const newTimerCount_ms = getMSTimerCount(); U32 const diffFPGATimerCount = (U32)u16DiffWithWrap( currentFPGATimerCount_ms, newFPGATimerCount_ms );