Revert "remove -P option"

This reverts commit fe6e4919b9bb3f9163303e5ca5cbde9d6ac47717.
This commit is contained in:
Nick Chan committed 2023-01-27 22:06:43 +08:00
1 parent d0347812a7
commit cd80b66f28
6 files changed
+95 -155

No files matched your search

-3
View File
@@ -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;
}