diff --git a/modules/time/fsw/src/cfe_time_utils.c b/modules/time/fsw/src/cfe_time_utils.c index b0719d8ec..97435a9d3 100644 --- a/modules/time/fsw/src/cfe_time_utils.c +++ b/modules/time/fsw/src/cfe_time_utils.c @@ -104,7 +104,7 @@ CFE_TIME_SysTime_t CFE_TIME_LatchClock(void) * See description in header file for argument/return detail * *-----------------------------------------------------------------*/ -void CFE_TIME_QueryResetVars(void) +void CFE_TIME_RestoreFromTimeResetVars(void) { CFE_TIME_ResetVars_t LocalResetVars; uint32 DefSubsMET; @@ -247,7 +247,7 @@ void CFE_TIME_InitData(void) /* ** Try to get values used to compute time from Reset Area... */ - CFE_TIME_QueryResetVars(); + CFE_TIME_RestoreFromTimeResetVars(); RefState = CFE_TIME_StartReferenceUpdate(); diff --git a/modules/time/fsw/src/cfe_time_utils.h b/modules/time/fsw/src/cfe_time_utils.h index 31ef1283b..630d42e7d 100644 --- a/modules/time/fsw/src/cfe_time_utils.h +++ b/modules/time/fsw/src/cfe_time_utils.h @@ -341,7 +341,7 @@ void CFE_TIME_InitData(void); /** * @brief query contents of Reset Variables */ -void CFE_TIME_QueryResetVars(void); +void CFE_TIME_RestoreFromTimeResetVars(void); /*---------------------------------------------------------------------------------------*/ /** diff --git a/modules/time/ut-coverage/time_UT.c b/modules/time/ut-coverage/time_UT.c index c82993556..c7b30579a 100644 --- a/modules/time/ut-coverage/time_UT.c +++ b/modules/time/ut-coverage/time_UT.c @@ -1955,31 +1955,31 @@ void Test_ResetArea(void) /* Tests existing and good Reset Area */ UT_InitData(); UT_SetStatusBSPResetArea(OS_SUCCESS, CFE_TIME_RESET_SIGNATURE, CFE_TIME_ToneSignalSelect_PRIMARY); - CFE_TIME_QueryResetVars(); + CFE_TIME_RestoreFromTimeResetVars(); UtAssert_INT32_EQ(CFE_TIME_Global.DataStoreStatus, CFE_TIME_RESET_AREA_EXISTING); /* Tests existing and good Reset Area */ UT_InitData(); UT_SetStatusBSPResetArea(OS_SUCCESS, CFE_TIME_RESET_SIGNATURE, CFE_TIME_ToneSignalSelect_REDUNDANT); - CFE_TIME_QueryResetVars(); + CFE_TIME_RestoreFromTimeResetVars(); UtAssert_INT32_EQ(CFE_TIME_Global.DataStoreStatus, CFE_TIME_RESET_AREA_EXISTING); /* Test response to a bad reset area */ UT_InitData(); UT_SetStatusBSPResetArea(OS_ERROR, CFE_TIME_RESET_SIGNATURE, CFE_TIME_ToneSignalSelect_PRIMARY); - CFE_TIME_QueryResetVars(); + CFE_TIME_RestoreFromTimeResetVars(); UtAssert_INT32_EQ(CFE_TIME_Global.DataStoreStatus, CFE_TIME_RESET_AREA_BAD); /* Test initializing to default time values */ UT_InitData(); UT_SetStatusBSPResetArea(OS_SUCCESS, CFE_TIME_RESET_SIGNATURE + 1, CFE_TIME_ToneSignalSelect_PRIMARY); - CFE_TIME_QueryResetVars(); + CFE_TIME_RestoreFromTimeResetVars(); UtAssert_INT32_EQ(CFE_TIME_Global.DataStoreStatus, CFE_TIME_RESET_AREA_NEW); /* Test response to a bad clock signal selection parameter */ UT_InitData(); UT_SetStatusBSPResetArea(OS_SUCCESS, CFE_TIME_RESET_SIGNATURE, CFE_TIME_ToneSignalSelect_REDUNDANT + 1); - CFE_TIME_QueryResetVars(); + CFE_TIME_RestoreFromTimeResetVars(); UtAssert_INT32_EQ(CFE_TIME_Global.DataStoreStatus, CFE_TIME_RESET_AREA_NEW); /* Test response to a reset area error */