Skip to content

Commit

Permalink
Update dependecy byte
Browse files Browse the repository at this point in the history
  • Loading branch information
blueluna committed Jan 1, 2024
1 parent 64e35ab commit 14a6693
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion psila-data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ default = []
core = ["heapless"]

[dependencies]
byte = "0.2"
byte = { git = "https://github.com/andylokandy/byte.git" }
byteorder = { version = "1", default-features = false }
bitflags = "2.4"
hash32 = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion psila-host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Erik Svensson <[email protected]>"]
edition = "2018"

[dependencies]
byte = "0.2"
byte = { git = "https://github.com/andylokandy/byte.git" }
byteorder = { version = "1", default-features = false }
clap = "2.32"
slice-deque = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion psila-host/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
keys = [
"00009808bc94bc4008d8d8d058fc24f4",
"47496e441365d18b1fe1ce2181e3622f",
]
4 changes: 1 addition & 3 deletions psila-host/src/security.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ impl SecurityService {
return size;
}
}
Err(e) => {
println!(" Decryption failed, {:?}", e);
}
Err(_e) => ()
}
}
println!(" No valid key found");
Expand Down
2 changes: 1 addition & 1 deletion psila-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"

[dependencies]
bbqueue = "0.5"
byte = "0.2"
byte = { git = "https://github.com/andylokandy/byte.git" }
ieee802154 = { git = "https://github.com/blueluna/ieee-802.15.4.git" }
psila-crypto = { path = "../psila-crypto" }
psila-data = { path = "../psila-data" }
Expand Down
2 changes: 1 addition & 1 deletion psila-service/src/mac/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::identity::Identity;
use crate::Error;

pub(crate) fn unpack_header(data: &[u8]) -> Result<Header, Error> {

Check warning on line 16 in psila-service/src/mac/mod.rs

View workflow job for this annotation

GitHub Actions / build

function `unpack_header` is never used

Check warning on line 16 in psila-service/src/mac/mod.rs

View workflow job for this annotation

GitHub Actions / build

function `unpack_header` is never used

Check warning on line 16 in psila-service/src/mac/mod.rs

View workflow job for this annotation

GitHub Actions / build

function `unpack_header` is never used
match data.read_with::<Header>(&mut 0, ()) {
match data.read::<Header>(&mut 0) {
Ok(header) => Ok(header),
Err(error) => {
match error {
Expand Down

0 comments on commit 14a6693

Please sign in to comment.