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:
Joel Sherrill
2005-08-17 19:25:00 +00:00
parent b3b78ecffe
commit 77bb84e320
2 changed files with 8 additions and 2 deletions

View File

@@ -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>
* Makefile.am: Remove s3c2400/lcd/lcd.c

View File

@@ -71,8 +71,8 @@ void Install_clock(rtems_isr_entry clock_isr)
/* the system timer is driven from SLCK */
slck = at91rm9200_get_slck();
st_pimr_reload = ((BSP_Configuration.microseconds_per_tick * 1000) /
slck);
st_pimr_reload = ((BSP_Configuration.microseconds_per_tick * slck) /
1000000);
/* read the status to clear the int */
st_str = ST_REG(ST_SR);