mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
remove -P option
This commit is contained in:
1 parent
04d5f90955
commit
da3f09b8cc
6 files changed
+155
-95
No files matched your search
@@ -177,9 +177,12 @@ 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