Ignore:
Timestamp:
Aug 17, 2005, 7:25:00 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1b269c56
Parents:
b3b78ec
Message:

2005-08-17 Lars Munch <lars@…>

PR 727/bsps

  • at91rm9200/clock/clock.c: Correct the equation so 10 milliseconds tick is not 9.365 miliseconds long.
File:
1 edited

Legend:

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

    rb3b78ec r77bb84e  
    7272    /* the system timer is driven from SLCK */
    7373    slck = at91rm9200_get_slck();
    74     st_pimr_reload = ((BSP_Configuration.microseconds_per_tick * 1000) /
    75                       slck);
     74    st_pimr_reload = ((BSP_Configuration.microseconds_per_tick * slck) /
     75                      1000000);
    7676
    7777    /* read the status to clear the int */
Note: See TracChangeset for help on using the changeset viewer.