fuuuuuuck this

This commit is contained in:
Isaac Shoebottom 2023-11-28 21:42:42 -04:00
parent 5ebb6a96cc
commit 4494f47a32

View File

@ -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);