Index: Integrity.c =================================================================== diff -u -r5a6ad1d7cd7a517fbf0a8eb1293cb6d4d0dff13b -r597d414dea37e4c05518cd81b1043d2cd3fc8219 --- Integrity.c (.../Integrity.c) (revision 5a6ad1d7cd7a517fbf0a8eb1293cb6d4d0dff13b) +++ Integrity.c (.../Integrity.c) (revision 597d414dea37e4c05518cd81b1043d2cd3fc8219) @@ -24,6 +24,8 @@ #include "SystemCommMessages.h" #include "TaskGeneral.h" #include "Utilities.h" +#include "DGDefs.h" +#include "HDDefs.h" /** * @addtogroup Integrity @@ -52,6 +54,8 @@ 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