Index: NVDataMgmt.c =================================================================== diff -u -r2c508d911fedf7fea1a081f449070aeed248b85c -r7634c10bca36cad0bb75cebaa0af802296a23f3a --- NVDataMgmt.c (.../NVDataMgmt.c) (revision 2c508d911fedf7fea1a081f449070aeed248b85c) +++ NVDataMgmt.c (.../NVDataMgmt.c) (revision 7634c10bca36cad0bb75cebaa0af802296a23f3a) @@ -951,6 +951,21 @@ /*********************************************************************//** * @brief + * The resetNVDataMgmtPOSTState function resets the NV data management POST + * state and enqueues all the NV records to be read again from the NV memory. + * @details Inputs: none + * @details Outputs: nvDataMgmtSelfTestState, nvDataMgmtSelfTestResult + * @return none + *************************************************************************/ +void resetNVDataMgmtPOSTState( void ) +{ + enqueuePOSTReadRecords(); + nvDataMgmtSelfTestResult = SELF_TEST_STATUS_IN_PROGRESS; + nvDataMgmtSelfTestState = NVDATAMGMT_SELF_TEST_STATE_READ_RECORDS; +} + +/*********************************************************************//** + * @brief * The getNVRecord2Driver function copies the requested non-volatile * data into the provided buffer by the caller. The function then checks if * the non-volatile data is valid. If the data is not valid, it raises the