summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common.c2
-rw-r--r--src/idevicerestore.h2
-rw-r--r--src/restore.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common.c b/src/common.c
index 6451e07..e731d00 100644
--- a/src/common.c
+++ b/src/common.c
@@ -268,7 +268,7 @@ void idevicerestore_progress(struct idevicerestore_client_t* client, int step, d
client->progress_cb(step, progress, client->progress_cb_data);
} else {
// we don't want to be too verbose in regular idevicerestore.
- if ((step == RESTORE_STEP_UPLOAD_FS) || (step == RESTORE_STEP_FLASH_FS) || (step == RESTORE_STEP_FLASH_NOR)) {
+ if ((step == RESTORE_STEP_UPLOAD_FS) || (step == RESTORE_STEP_FLASH_FS) || (step == RESTORE_STEP_FLASH_FW)) {
print_progress_bar(100.0f * progress);
}
}
diff --git a/src/idevicerestore.h b/src/idevicerestore.h
index 4b5ed5d..3ec34a1 100644
--- a/src/idevicerestore.h
+++ b/src/idevicerestore.h
@@ -48,7 +48,7 @@ enum {
RESTORE_STEP_PREPARE,
RESTORE_STEP_UPLOAD_FS,
RESTORE_STEP_FLASH_FS,
- RESTORE_STEP_FLASH_NOR,
+ RESTORE_STEP_FLASH_FW,
RESTORE_STEP_FLASH_BB,
RESTORE_NUM_STEPS
};
diff --git a/src/restore.c b/src/restore.c
index 3fb20a9..6418497 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -552,7 +552,7 @@ int restore_handle_progress_msg(struct idevicerestore_client_t* client, plist_t
idevicerestore_progress(client, RESTORE_STEP_FLASH_FS, progress / 100.0);
break;
case 18:
- idevicerestore_progress(client, RESTORE_STEP_FLASH_NOR, progress / 100.0);
+ idevicerestore_progress(client, RESTORE_STEP_FLASH_FW, progress / 100.0);
break;
case 19:
idevicerestore_progress(client, RESTORE_STEP_FLASH_BB, progress / 100.0);