Skip to content

Commit 5ee21b6

Browse files
Update to heapless 0.9
1 parent 2001761 commit 5ee21b6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "Apache-2.0 OR MIT"
99
repository = "https://github.com/solokeys/ctaphid-dispatch"
1010

1111
[workspace.dependencies]
12-
heapless-bytes = "0.3"
12+
heapless-bytes = "0.5"
1313
trussed-core = "0.1.0"
1414

1515
[patch.crates-io]

app/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![no_std]
22

3-
use heapless_bytes::Bytes;
3+
use heapless_bytes::BytesView;
44
use trussed_core::InterruptFlag;
55

66
mod command;
@@ -27,7 +27,7 @@ pub trait App<'interrupt, const N: usize> {
2727
&mut self,
2828
command: Command,
2929
request: &[u8],
30-
response: &mut Bytes<N>,
30+
response: &mut BytesView,
3131
) -> Result<(), Error>;
3232
}
3333

dispatch/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ default = []
2121
std = ["delog/std"]
2222

2323
log-all = []
24+
log-trace = []
2425
log-none = []
2526
log-info = []
2627
log-debug = []

0 commit comments

Comments
 (0)