forked from Imagelibrary/rtems
bsps: Add and use CLOCK_DRIVER_ISRS_PER_TICK_VALUE
pc386 set CLOCK_DRIVER_ISRS_PER_TICK to a string rather than a numeric value. Add CLOCK_DRIVER_ISRS_PER_TICK_VALUE and other clean up on the clock driver.
This commit is contained in:
committed by
Gedare Bloom
parent
db0e05ff6f
commit
3109857c88
@@ -183,7 +183,7 @@ rtems_device_driver Clock_initialize(
|
||||
* If we are counting ISRs per tick, then initialize the counter.
|
||||
*/
|
||||
#if CLOCK_DRIVER_ISRS_PER_TICK
|
||||
Clock_driver_isrs = CLOCK_DRIVER_ISRS_PER_TICK;
|
||||
Clock_driver_isrs = CLOCK_DRIVER_ISRS_PER_TICK_VALUE;
|
||||
#endif
|
||||
|
||||
return RTEMS_SUCCESSFUL;
|
||||
|
||||
Reference in New Issue
Block a user