Make the erase have a percentage complete.
This commit is contained in:
@@ -178,7 +178,7 @@ ecdb_drive_progress_update(void *data)
|
||||
stat = burn_drive_get_status(drive, &p);
|
||||
if (stat == BURN_DRIVE_SPAWNING)
|
||||
{
|
||||
sleep(1);
|
||||
usleep(100000);
|
||||
continue;
|
||||
}
|
||||
else if (stat == BURN_DRIVE_IDLE)
|
||||
@@ -192,7 +192,7 @@ ecdb_drive_progress_update(void *data)
|
||||
}
|
||||
|
||||
ecore_pipe_write(proj->pipe, &p, sizeof(p));
|
||||
sleep(1);
|
||||
usleep(100000);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user