Changeset 159 for trunk


Ignore:
Timestamp:
May 14, 2013, 5:57:32 PM (12 years ago)
Author:
David Azarewicz
Message:

Minor change to timer routines. This is version 1.27.

Location:
trunk/src/os2ahci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/Makefile

    r158 r159  
    3232BLD_MINOR=27 # must be 2 digits
    3333BLD_REV=0 # not used at this time
    34 FIXPACK=Test Build
     34FIXPACK=
    3535
    3636!ifndef %WATCOM # if not defined in the environment
  • trunk/src/os2ahci/libc.c

    r157 r159  
    793793
    794794  current = gis->msecs;
    795   if (pTimer->Start < pTimer->End) {
     795  if (pTimer->Start <= pTimer->End) {
    796796    if ((current >= pTimer->End) || (current < pTimer->Start)) return 1;
    797797  } else {
     
    809809  TIMER Timer;
    810810
     811  if (millies == 0) return;
    811812  timer_init(&Timer, millies);
    812813  while (!timer_check_and_block(&Timer));
Note: See TracChangeset for help on using the changeset viewer.