--- c/src/lib/libbsp/powerpc/score603e/tod/tod.c | 4 ++-- 1 file 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 8135404..217c6f0 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 && -- 1.9.3 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel