Changeset 1483012 in rtems


Ignore:
Timestamp:
Apr 2, 2020, 7:05:48 PM (2 months ago)
Author:
Jan Sommer <jan.sommer@…>
Branches:
master
Children:
8e80876
Parents:
51307919
git-author:
Jan Sommer <jan.sommer@…> (04/02/20 19:05:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/03/20 09:47:18)
Message:

bsp/shared/clock: Reset Clock_driver_isrs to correct value

CLOCK_DRIVER_ISRS_PER_TICK is the configuration define,
CLOCK_DRIVER_ISRS_PER_TICK_VALUE is the actual value of ISRS per clock
tick, therefore use this one to reset the Clock_driver_isrs after each
tick.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/shared/dev/clock/clockimpl.h

    r51307919 r1483012  
    183183        Clock_driver_timecounter_tick();
    184184
    185         Clock_driver_isrs = CLOCK_DRIVER_ISRS_PER_TICK;
     185        Clock_driver_isrs = CLOCK_DRIVER_ISRS_PER_TICK_VALUE;
    186186      }
    187187      Clock_driver_isrs--;
Note: See TracChangeset for help on using the changeset viewer.