mirror of
https://github.com/tihmstar/futurerestore.git
synced 2024-12-22 17:35:29 +00:00
fixed normalmode discovery bug
This commit is contained in:
parent
d1e5c41aff
commit
231bdc251c
|
@ -910,7 +910,7 @@ const char *futurerestore::getDeviceModelNoCopy(){
|
|||
if (!_client->device || !_client->device->product_type){
|
||||
|
||||
int mode = getDeviceMode(true);
|
||||
if (mode == MODE_NORMAL && mode != MODE_RECOVERY && mode != MODE_DFU)
|
||||
if (mode != MODE_NORMAL && mode != MODE_RECOVERY && mode != MODE_DFU)
|
||||
reterror(-20, "unexpected device mode=%d\n",mode);
|
||||
|
||||
if (check_hardware_model(_client) == NULL || _client->device == NULL)
|
||||
|
|
Loading…
Reference in a new issue