Changeset 5e86086 in rtems for c/src/lib/libcpu/arm


Ignore:
Timestamp:
Nov 6, 2012, 9:34:42 AM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
75524a5e
Parents:
dd40e143
git-author:
Sebastian Huber <sebastian.huber@…> (11/06/12 09:34:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/07/12 14:08:43)
Message:

sapi: Use rtems_config*_get_microseconds_per_tick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/pxa255/clock/clock.c

    rdd40e143 r5e86086  
    5151
    5252#if ON_SKYEYE==1
    53   period_num = (TIMER_RATE* Configuration.microseconds_per_tick)/100000;
     53  period_num = (TIMER_RATE* rtems_configuration_get_microseconds_per_tick())/100000;
    5454#else
    55   period_num = (TIMER_RATE* Configuration.microseconds_per_tick)/10000;
     55  period_num = (TIMER_RATE* rtems_configuration_get_microseconds_per_tick())/10000;
    5656#endif
    5757
     
    104104{
    105105#if ON_SKYEYE==1
    106   period_num = (TIMER_RATE* Configuration.microseconds_per_tick)/100000;
     106  period_num = (TIMER_RATE* rtems_configuration_get_microseconds_per_tick())/100000;
    107107#else
    108   period_num = (TIMER_RATE* Configuration.microseconds_per_tick)/10000;
     108  period_num = (TIMER_RATE* rtems_configuration_get_microseconds_per_tick())/10000;
    109109#endif
    110110}
Note: See TracChangeset for help on using the changeset viewer.