From 53c0a9a6975a57b45ef7502d2f537c868ac379f7 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 28 Oct 2014 13:00:51 +0100 Subject: Rename restore step to indicate flashing of firmware instead of NOR --- src/common.c | 2 +- src/idevicerestore.h | 2 +- src/restore.c | 2 +- 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); -- cgit v1.1-32-gdbae