mirror of
https://github.com/tihmstar/futurerestore.git
synced 2025-04-20 14:31:41 +00:00
Oops this is actually needed here too
This commit is contained in:
parent
b75de8976e
commit
26487b43dd
|
@ -472,6 +472,9 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, string bootargs){
|
|||
libipatcher::fw_key iBECKeys;
|
||||
|
||||
/* Assure device is in dfu */
|
||||
irecv_device_event_subscribe(&_client->irecv_e_ctx, irecv_event_cb, _client);
|
||||
idevice_event_subscribe(idevice_event_cb, _client);
|
||||
_client->idevice_e_ctx = (void *)idevice_event_cb;
|
||||
getDeviceMode(true);
|
||||
mutex_lock(&_client->device_event_mutex);
|
||||
cond_wait_timeout(&_client->device_event_cond, &_client->device_event_mutex, 1000);
|
||||
|
|
Loading…
Reference in a new issue