fixed states if drive is no longer present

This commit is contained in:
2020-08-26 18:38:39 +02:00
parent 424218bb23
commit 320e306d06
6 changed files with 145 additions and 56 deletions

View File

@ -15,7 +15,9 @@
#define SHRED_ITERATIONS 1
#define SELECTED_DRIVE vecDrives.at(i32SelectedEntry)
#define READ 0
#define WRITE 1
@ -75,7 +77,7 @@ private:
static void handleESC();
static void handleAbort();
static void checkShredComplete(vector <Drive>* pvecDrives);
static Drive* getSelectedDrive();
};