diff --git a/ublox-short-range/Cargo.toml b/ublox-short-range/Cargo.toml index c6ee5e4..0f6e4a3 100644 --- a/ublox-short-range/Cargo.toml +++ b/ublox-short-range/Cargo.toml @@ -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" diff --git a/ublox-short-range/src/client.rs b/ublox-short-range/src/client.rs index 06f9364..35428f4 100644 --- a/ublox-short-range/src/client.rs +++ b/ublox-short-range/src/client.rs @@ -70,7 +70,10 @@ pub struct DNSTableEntry { } impl DNSTableEntry { - pub const fn new(state: DNSState, domain_name: heapless::String) -> Self { + pub const fn new( + state: DNSState, + domain_name: heapless::String, + ) -> Self { Self { domain_name, state } } }