diff options
author | Martin Szulecki | 2012-11-07 22:18:53 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-11-07 22:18:53 +0100 |
commit | b5901c6e45e04e6c17c102225a60a4f29668f087 (patch) | |
tree | f2184b1a8b5e5c912ee49de6ae1635ce258ccacc | |
parent | 540f06a2efe883d119b89b23a2b2bb56bfeb80eb (diff) | |
download | idevicerestore-b5901c6e45e04e6c17c102225a60a4f29668f087.tar.gz idevicerestore-b5901c6e45e04e6c17c102225a60a4f29668f087.tar.bz2 |
Added baseband flash restore step for progress output
-rw-r--r-- | src/idevicerestore.h | 1 | ||||
-rw-r--r-- | src/restore.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/idevicerestore.h b/src/idevicerestore.h index 37cbbc7..65c605f 100644 --- a/src/idevicerestore.h +++ b/src/idevicerestore.h @@ -47,6 +47,7 @@ enum { RESTORE_STEP_UPLOAD_FS, RESTORE_STEP_FLASH_FS, RESTORE_STEP_FLASH_NOR, + RESTORE_STEP_FLASH_BB, RESTORE_NUM_STEPS }; diff --git a/src/restore.c b/src/restore.c index 965e6c9..0b720ca 100644 --- a/src/restore.c +++ b/src/restore.c @@ -558,6 +558,9 @@ int restore_handle_progress_msg(struct idevicerestore_client_t* client, plist_t case 18: idevicerestore_progress(client, RESTORE_STEP_FLASH_NOR, progress / 100.0); break; + case 19: + idevicerestore_progress(client, RESTORE_STEP_FLASH_BB, progress / 100.0); + break; default: debug("Unhandled progress operation %d\n", (int)operation); break; |