mirror of
https://github.com/trussed-dev/usbd-ctaphid.git
synced 2026-06-20 04:16:20 -07:00
Update to heapless 0.9
This commit is contained in:
+6
-1
@@ -13,7 +13,7 @@ categories = ["embedded", "no-std"]
|
||||
ctaphid-dispatch = "0.3"
|
||||
embedded-time = "0.12"
|
||||
delog = "0.1.0"
|
||||
heapless-bytes = "0.3"
|
||||
heapless-bytes = "0.5"
|
||||
interchange = "0.3.0"
|
||||
serde = { version = "1.0", default-features = false }
|
||||
usb-device = "0.2.3"
|
||||
@@ -31,3 +31,8 @@ log-info = []
|
||||
log-debug = []
|
||||
log-warn = []
|
||||
log-error = []
|
||||
|
||||
[patch.crates-io]
|
||||
ctaphid-dispatch = { git = "https://github.com/trussed-dev/ctaphid-dispatch.git", rev = "edc5d69eeb71e6718c60aad54574f6c3b824309c" }
|
||||
ctaphid-app = { git = "https://github.com/trussed-dev/ctaphid-dispatch.git", rev = "edc5d69eeb71e6718c60aad54574f6c3b824309c" }
|
||||
trussed-core = { git = "https://github.com/trussed-dev/trussed.git", rev = "1e7b09a983dc8ae64a7ad8401ce541a9a77e5939"}
|
||||
|
||||
+1
-1
@@ -528,7 +528,7 @@ impl<'alloc, 'pipe, 'interrupt, Bus: UsbBus, const N: usize>
|
||||
}
|
||||
match self.interchange.request((
|
||||
request.command,
|
||||
Bytes::from_slice(&self.buffer[..request.length as usize]).unwrap(),
|
||||
Bytes::try_from(&self.buffer[..request.length as usize]).unwrap(),
|
||||
)) {
|
||||
Ok(_) => {
|
||||
self.state = State::WaitingOnAuthenticator(request);
|
||||
|
||||
Reference in New Issue
Block a user