mirror of
https://github.com/trussed-dev/ctaphid-dispatch.git
synced 2026-06-20 04:16:18 -07:00
Bump heapless and all that bumped it
This commit is contained in:
committed by
Nicolas Stalder
parent
5ba508a530
commit
6dcbc0d1b7
+2
-2
@@ -8,8 +8,8 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
delog = "0.1.0"
|
||||
heapless = "0.6"
|
||||
heapless-bytes = "0.2.0"
|
||||
heapless = "0.7"
|
||||
heapless-bytes = "0.3"
|
||||
interchange = "0.2.0"
|
||||
|
||||
[features]
|
||||
|
||||
+5
-5
@@ -6,13 +6,13 @@ pub enum Error {
|
||||
InvalidLength,
|
||||
}
|
||||
|
||||
// 7609 bytes is max message size for ctaphid
|
||||
type U6144 = <heapless::consts::U4096 as core::ops::Add<heapless::consts::U2048>>::Output;
|
||||
type U7168 = <U6144 as core::ops::Add<heapless::consts::U1024>>::Output;
|
||||
pub type U7609 = <U7168 as core::ops::Add<heapless::consts::U441>>::Output;
|
||||
// // 7609 bytes is max message size for ctaphid
|
||||
// type U6144 = <heapless::consts::U4096 as core::ops::Add<heapless::consts::U2048>>::Output;
|
||||
// type U7168 = <U6144 as core::ops::Add<heapless::consts::U1024>>::Output;
|
||||
// pub type U7609 = <U7168 as core::ops::Add<heapless::consts::U441>>::Output;
|
||||
// pub type U7609 = heapless::consts::U4096;
|
||||
|
||||
pub type Message = heapless_bytes::Bytes<U7609>;
|
||||
pub type Message = heapless::Vec<u8, 7609>;
|
||||
pub type AppResult = core::result::Result<(), Error>;
|
||||
pub type InterchangeResponse = core::result::Result<Message, Error>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user