mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
fix some recovery/dfu detection problems
This commit is contained in:
1 parent
6edcf92e7d
commit
bfbdc82d22
3 files changed
+6
-3
No files matched your search
+1
-1
@@ -217,8 +217,8 @@ void irecv_device_event_cb(const irecv_device_event_t *event, void* userdata) {
|
||||
|
||||
void *dfuhelper(void* ptr) {
|
||||
dfuhelper_thr_running = true;
|
||||
subscribe_cmd(device_event_cb, irecv_device_event_cb);
|
||||
set_spin(1);
|
||||
subscribe_cmd(device_event_cb, irecv_device_event_cb);
|
||||
while (get_spin()) {
|
||||
sleep(1);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user