remove -P option

This commit is contained in:
Nick Chan committed 2023-01-27 22:06:43 +08:00
1 parent 04d5f90955
commit da3f09b8cc
6 files changed
+155 -95

No files matched your search

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