Browse Source

[monojob] Allow for extremely slow system timers

The EFI timer runs at one tick per second, so using ">" rather than ">="
results in a two-second gap between dots.
tags/v0.9.6
Michael Brown 16 years ago
parent
commit
658c6dba59
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/core/monojob.c

+ 1
- 1
src/core/monojob.c View File

83
 			}
83
 			}
84
 		}
84
 		}
85
 		elapsed = ( currticks() - last_progress_dot );
85
 		elapsed = ( currticks() - last_progress_dot );
86
-		if ( elapsed > TICKS_PER_SEC ) {
86
+		if ( elapsed >= TICKS_PER_SEC ) {
87
 			printf ( "." );
87
 			printf ( "." );
88
 			last_progress_dot = currticks();
88
 			last_progress_dot = currticks();
89
 		}
89
 		}

Loading…
Cancel
Save