Changeset 299a82f4 in rtems


Ignore:
Timestamp:
Apr 2, 2020, 7:01:43 AM (2 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
86f006be
Parents:
18f5bcb
git-author:
Sebastian Huber <sebastian.huber@…> (04/02/20 07:01:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/02/20 07:13:53)
Message:

bsp/qoriq: Fix off by one error in clock init

Close #3921.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/qoriq/clock/clock-config.c

    r18f5bcb r299a82f4  
    134134    * (uint64_t) rtems_configuration_get_microseconds_per_tick()) / 1000000);
    135135
    136   qoriq_clock->bcr = GTBCR_COUNT(interval);
     136  qoriq_clock->bcr = GTBCR_COUNT(interval - 1);
    137137
    138138  qoriq_timecounter->bcr = GTBCR_COUNT(0xffffffff);
Note: See TracChangeset for help on using the changeset viewer.