Changeset 389afd9 in rtems


Ignore:
Timestamp:
Aug 4, 2009, 11:59:20 AM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
8fed642
Parents:
88a8702d
Message:

2009-08-04 Xi Yang <hiyangxi@…>

  • pxa255/clock/clock.c: Move parentheses to improve math. More tests run.
Location:
c/src/lib/libcpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/ChangeLog

    r88a8702d r389afd9  
     12009-08-04      Xi Yang <hiyangxi@gmail.com>
     2
     3        * pxa255/clock/clock.c: Move parentheses to improve math. More tests
     4        run.
     5
    162009-07-15      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/lib/libcpu/arm/pxa255/clock/clock.c

    r88a8702d r389afd9  
    4141  XSCALE_OS_TIMER_IER |= 0x1;
    4242
    43   period_num = TIMER_RATE*(Configuration.microseconds_per_tick/10000);
     43  period_num = (TIMER_RATE* Configuration.microseconds_per_tick)/10000;
    4444
    4545  XSCALE_OS_TIMER_MR0 = XSCALE_OS_TIMER_TCR + period_num;
     
    9191void Clock_driver_support_initialize_hardware(void)
    9292{
    93   period_num = TIMER_RATE*(Configuration.microseconds_per_tick/10000);
     93  period_num = (TIMER_RATE* Configuration.microseconds_per_tick)/10000;
    9494}
    9595
Note: See TracChangeset for help on using the changeset viewer.