forked from Imagelibrary/rtems
2005-08-17 Lars Munch <lars@segv.dk>
PR 727/bsps * at91rm9200/clock/clock.c: Correct the equation so 10 milliseconds tick is not 9.365 miliseconds long.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2005-08-17 Lars Munch <lars@segv.dk>
|
||||||
|
|
||||||
|
PR 727/bsps
|
||||||
|
* at91rm9200/clock/clock.c: Correct the equation so 10 milliseconds
|
||||||
|
tick is not 9.365 miliseconds long.
|
||||||
|
|
||||||
2005-07-07 Philippe Simons <loki_666@fastmail.fm>
|
2005-07-07 Philippe Simons <loki_666@fastmail.fm>
|
||||||
|
|
||||||
* Makefile.am: Remove s3c2400/lcd/lcd.c
|
* Makefile.am: Remove s3c2400/lcd/lcd.c
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ void Install_clock(rtems_isr_entry clock_isr)
|
|||||||
|
|
||||||
/* the system timer is driven from SLCK */
|
/* the system timer is driven from SLCK */
|
||||||
slck = at91rm9200_get_slck();
|
slck = at91rm9200_get_slck();
|
||||||
st_pimr_reload = ((BSP_Configuration.microseconds_per_tick * 1000) /
|
st_pimr_reload = ((BSP_Configuration.microseconds_per_tick * slck) /
|
||||||
slck);
|
1000000);
|
||||||
|
|
||||||
/* read the status to clear the int */
|
/* read the status to clear the int */
|
||||||
st_str = ST_REG(ST_SR);
|
st_str = ST_REG(ST_SR);
|
||||||
|
|||||||
Reference in New Issue
Block a user