Adapts libtock drivers for vendor HID (#500)
* adapts libtock drivers for vendor HID * status with timeout
This commit is contained in:
13
patches/tock/11-usb-endpoint-receive.patch
Normal file
13
patches/tock/11-usb-endpoint-receive.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/capsules/src/usb/usb_ctap.rs b/capsules/src/usb/usb_ctap.rs
|
||||
index e8f1a87a4..2c1ecf934 100644
|
||||
--- a/capsules/src/usb/usb_ctap.rs
|
||||
+++ b/capsules/src/usb/usb_ctap.rs
|
||||
@@ -57,7 +57,7 @@ impl<'a, 'b, C: hil::usb::UsbController<'a>> CtapUsbSyscallDriver<'a, 'b, C> {
|
||||
app.waiting = false;
|
||||
// Signal to the app that a packet is ready.
|
||||
app.callback
|
||||
- .map(|mut cb| cb.schedule(CTAP_CALLBACK_RECEIVED, 0, 0));
|
||||
+ .map(|mut cb| cb.schedule(CTAP_CALLBACK_RECEIVED, 1, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user