Skip to content

Commit

Permalink
Bump embedded-hal to rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasKoch committed Aug 29, 2023
1 parent 2dc26e4 commit e508efa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ublox-short-range/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hash32 = "^0.2.1"
hash32-derive = "^0.1.0"

defmt = { version = "0.3" }
embedded-hal = "=1.0.0-alpha.11"
embedded-hal = "=1.0.0-rc.1"
embedded-nal = "0.6.0"
fugit = { version = "0.3", features = ["defmt"] }
fugit-timer = "0.1.2"
Expand Down
5 changes: 4 additions & 1 deletion ublox-short-range/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ pub struct DNSTableEntry {
}

impl DNSTableEntry {
pub const fn new(state: DNSState, domain_name: heapless::String<MAX_DOMAIN_NAME_LENGTH>) -> Self {
pub const fn new(
state: DNSState,
domain_name: heapless::String<MAX_DOMAIN_NAME_LENGTH>,
) -> Self {
Self { domain_name, state }
}
}
Expand Down

0 comments on commit e508efa

Please sign in to comment.