Changeset 57a9e607 in rtems


Ignore:
Timestamp:
Dec 16, 2008, 5:44:22 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
26fb4aa
Parents:
3d66dfc1
Message:

2008-12-16 Joel Sherrill <joel.sherrill@…>

  • include/rtems++/rtemsTimer.h: Use public API not _TOD_Microseconds_per_tick.
Location:
c/src/librtems++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/librtems++/ChangeLog

    r3d66dfc1 r57a9e607  
     12008-12-16      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * include/rtems++/rtemsTimer.h: Use public API not
     4        _TOD_Microseconds_per_tick.
     5
    162008-12-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/librtems++/include/rtems++/rtemsTimer.h

    r3d66dfc1 r57a9e607  
    9595{
    9696  repeat = false;
    97   rtems_interval usecs =
    98     micro_secs && (micro_secs < _TOD_Microseconds_per_tick) ?
    99     _TOD_Microseconds_per_tick : micro_secs;
     97  rtems_interval usecs = micro_secs &&
     98    (micro_secs < rtems_configuration_get_microseconds_per_tick()) ?
     99    rtems_configuration_get_microseconds_per_tick() : micro_secs;
    100100  return set_status_code(rtems_timer_fire_after(id,
    101101                                                TOD_MICROSECONDS_TO_TICKS(usecs),
     
    107107{
    108108  repeat = true;
    109   rtems_interval usecs =
    110     micro_secs && (micro_secs < _TOD_Microseconds_per_tick) ?
    111     _TOD_Microseconds_per_tick : micro_secs;
     109  rtems_interval usecs = micro_secs &&
     110    (micro_secs < rtems_configuration_get_microseconds_per_tick()) ?
     111    rtems_configuration_get_microseconds_per_tick() : micro_secs;
    112112  return set_status_code(rtems_timer_fire_after(id,
    113113                                                TOD_MICROSECONDS_TO_TICKS(usecs),
Note: See TracChangeset for help on using the changeset viewer.