Index: Integrity.c =================================================================== diff -u -r9f5f85b3bddb2b94f5ec4111cdc33077892cae77 -r5a6ad1d7cd7a517fbf0a8eb1293cb6d4d0dff13b --- Integrity.c (.../Integrity.c) (revision 9f5f85b3bddb2b94f5ec4111cdc33077892cae77) +++ Integrity.c (.../Integrity.c) (revision 5a6ad1d7cd7a517fbf0a8eb1293cb6d4d0dff13b) @@ -41,6 +41,9 @@ #define RADDR_PAR_FAIL 0x00000100 ///< Bit 8 - Read Address Parity Failure in TCRAM Module Error Status Register #define WADDR_PAR_FAIL 0x00000200 ///< Bit 9 - Write Address Parity Failure in TCRAM Module Error Status Register +/// Time threshold to check RAM error is 2 seconds +static const U32 RAM_ERROR_CHECK_TIME_THRESHOLD = ((2 * MS_PER_SECOND) / TASK_GENERAL_INTERVAL); + // ********** private data ********** static U32 currentRecord; ///< Current CRC table record to check. @@ -49,10 +52,7 @@ static SELF_TEST_STATUS_T integrityTestStatus; ///< Current firmware integrity test status. static U32 processorRAMStatusCounter = 0; ///< Counter used to check processor RAM error. static BOOL singleBitRAMErrorFlag = FALSE; ///< Flag to signal the processor RAM error. -/// Time threshold to check RAM error is 2 seconds -static const U32 RAM_ERROR_CHECK_TIME_THRESHOLD = ((2 * MS_PER_SECOND) / TASK_GENERAL_INTERVAL); - /*********************************************************************//** * @brief * The initIntegrity function initializes the Integrity module.