Changeset 41c4785 in rtems


Ignore:
Timestamp:
Aug 7, 2002, 3:03:52 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7a47bb5
Parents:
e336882
Message:

2002-08-07 Chris Johns <ccj@…>

  • src/coretodset.c: Correct calculation of ticks until next section boundary. It was incorrectly based upon current time not the time that is being set.
Location:
cpukit/score
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/ChangeLog

    re336882 r41c4785  
     12002-08-07      Chris Johns <ccj@acm.org>
     2
     3        * src/coretodset.c: Correct calculation of ticks until next section
     4        boundary.  It was incorrectly based upon current time not the
     5        time that is being set.
     6
    172002-07-31      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • cpukit/score/src/coretodset.c

    re336882 r41c4785  
    5151
    5252  ticks_until_next_second = _TOD_Ticks_per_second;
    53   if ( ticks_until_next_second > _TOD_Current.ticks )
    54     ticks_until_next_second -= _TOD_Current.ticks;
     53  if ( ticks_until_next_second > the_tod->ticks )
     54    ticks_until_next_second -= the_tod->ticks;
    5555
    5656  _TOD_Current             = *the_tod;
Note: See TracChangeset for help on using the changeset viewer.