summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/tod/tod.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/tod/tod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/tod/tod.c b/c/src/lib/libbsp/powerpc/score603e/tod/tod.c
index 81354046fd..217c6f0e6a 100644
--- a/c/src/lib/libbsp/powerpc/score603e/tod/tod.c
+++ b/c/src/lib/libbsp/powerpc/score603e/tod/tod.c
@@ -52,7 +52,7 @@ void setRealTimeFromRTEMS()
{
rtems_time_of_day rtems_tod;
- rtems_clock_get( RTEMS_CLOCK_GET_TOD, &rtems_tod );
+ rtems_clock_get_tod( &rtems_tod );
ICM7170_SetTOD( BSP_RTC_ADDRESS, BSP_RTC_FREQUENCY, &rtems_tod );
}
@@ -62,7 +62,7 @@ int checkRealTime()
rtems_time_of_day rtc_tod;
ICM7170_GetTOD( BSP_RTC_ADDRESS, BSP_RTC_FREQUENCY, &rtc_tod );
- rtems_clock_get( RTEMS_CLOCK_GET_TOD, &rtems_tod );
+ rtems_clock_get_tod( &rtems_tod );
if( rtems_tod.year == rtc_tod.year &&
rtems_tod.month == rtc_tod.month &&