mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-25 02:29:49 +01:00
Revert "remove -P option"
This reverts commit fe6e4919b9bb3f9163303e5ca5cbde9d6ac47717.
This commit is contained in:
1 parent
d0347812a7
commit
cd80b66f28
6 files changed
+95
-155
No files matched your search
@@ -177,12 +177,9 @@ void irecv_device_event_cb(const irecv_device_event_t *event, void* userdata) {
|
||||
}
|
||||
|
||||
void *dfuhelper(void* ptr) {
|
||||
dfuhelper_thr_running = 1;
|
||||
pthread_cleanup_push(thr_cleanup, &dfuhelper_thr_running);
|
||||
subscribe_cmd(device_event_cb, irecv_device_event_cb);
|
||||
while (spin) {
|
||||
sleep(1);
|
||||
};
|
||||
pthread_cleanup_pop(1);
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user