fuuuuuuck this
This commit is contained in:
parent
5ebb6a96cc
commit
4494f47a32
@ -47,11 +47,12 @@ void cscan(int start) {
|
||||
if (request == NULL) {
|
||||
seekTime++;
|
||||
} else {
|
||||
// There is a bug here, will need to revisit
|
||||
if (request->position < position) {
|
||||
seekTime += timeToProcessRequest(position, 9999);
|
||||
seekTime += timeToProcessRequest(9999, 0);
|
||||
movement += abs(position - 9999);
|
||||
movement += abs(9999 - 0);
|
||||
//seekTime += timeToProcessRequest(position, 9999);
|
||||
//seekTime += timeToProcessRequest(9999, 0);
|
||||
//movement += abs(position - 9999);
|
||||
//movement += abs(9999 - 0);
|
||||
position = 0;
|
||||
}
|
||||
seekTime += timeToProcessRequest(position, request->position);
|
||||
|
Loading…
Reference in New Issue
Block a user