summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-28 13:00:51 +0100
committerGravatar Martin Szulecki2014-10-28 13:00:51 +0100
commit53c0a9a6975a57b45ef7502d2f537c868ac379f7 (patch)
treef56a0af624d7a6c258300082291e35b7bf6f8f90 /src
parent3cd5ab609e368eacd08da80e8fad55ceb71b8c4b (diff)
downloadidevicerestore-53c0a9a6975a57b45ef7502d2f537c868ac379f7.tar.gz
idevicerestore-53c0a9a6975a57b45ef7502d2f537c868ac379f7.tar.bz2
Rename restore step to indicate flashing of firmware instead of NOR
Diffstat (limited to 'src')
-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);