Changeset 24868ecb in rtems


Ignore:
Timestamp:
Mar 14, 2015, 4:00:20 PM (4 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
296b0247
Parents:
c1479edf
git-author:
Joel Sherrill <joel.sherrill@…> (03/14/15 16:00:20)
git-committer:
Joel Sherrill <joel.sherrill@…> (03/17/15 15:05:05)
Message:

libcpu/bfin/clock/rtc.c: Do not use rtems_clock_get()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/bfin/clock/rtc.c

    rc1479edf r24868ecb  
    4545  rtems_status_code status;
    4646
    47   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time_buffer );
     47  status = rtems_clock_get_tod( &time_buffer );
    4848  if (status == RTEMS_SUCCESSFUL){
    4949    setRealTime(&time_buffer);
     
    142142  uint32_t   rtc_time;
    143143
    144   rtems_clock_get( RTEMS_CLOCK_GET_TOD, &rtems_tod );
     144  (void) rtems_clock_get_tod( &rtems_tod );
    145145  getRealTime ( &rtc_tod );
    146146
Note: See TracChangeset for help on using the changeset viewer.