Updating dependencies

This commit is contained in:
Ryan Summers 2021-03-24 13:40:17 +01:00
parent a717630c53
commit 9459152f6f
3 changed files with 6 additions and 7 deletions

8
Cargo.lock generated
View File

@ -390,9 +390,9 @@ dependencies = [
[[package]] [[package]]
name = "managed" name = "managed"
version = "0.7.2" version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c75de51135344a4f8ed3cfe2720dc27736f7711989703a0b43aadf3753c55577" checksum = "0ca88d725a0a943b096803bd34e73a4437208b6077654cc4ecb2947a5f91618d"
[[package]] [[package]]
name = "matrixmultiply" name = "matrixmultiply"
@ -697,7 +697,7 @@ dependencies = [
[[package]] [[package]]
name = "smoltcp" name = "smoltcp"
version = "0.7.0" version = "0.7.0"
source = "git+https://github.com/ryan-summers/smoltcp.git?branch=feature/dhcp-lease-updates#e3954ebb8149341c52a4992e037d4b5109387910" source = "git+https://github.com/smoltcp-rs/smoltcp.git#1bff999a6f3f7adf623d837ea96cc807e1b3a470"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"byteorder", "byteorder",
@ -707,7 +707,7 @@ dependencies = [
[[package]] [[package]]
name = "smoltcp-nal" name = "smoltcp-nal"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/quartiq/smoltcp-nal.git?branch=feature/reset-support#a6db6579100987502563578fb386109ad08758a7" source = "git+https://github.com/quartiq/smoltcp-nal.git?branch=feature/reset-support#c43e751afe3c14aac153fa4425231270dbfd918b"
dependencies = [ dependencies = [
"embedded-nal", "embedded-nal",
"heapless 0.6.1", "heapless 0.6.1",

View File

@ -63,8 +63,7 @@ git = "https://github.com/rust-embedded-community/serde-json-core.git"
branch = "master" branch = "master"
[patch.crates-io.smoltcp] [patch.crates-io.smoltcp]
git = "https://github.com/ryan-summers/smoltcp.git" git = "https://github.com/smoltcp-rs/smoltcp.git"
branch = "feature/dhcp-lease-updates"
[dependencies.mcp23017] [dependencies.mcp23017]
git = "https://github.com/mrd0ll4r/mcp23017.git" git = "https://github.com/mrd0ll4r/mcp23017.git"

View File

@ -65,7 +65,7 @@ where
// sending an excessive number of DHCP requests. // sending an excessive number of DHCP requests.
if !self.network_was_reset { if !self.network_was_reset {
self.network_was_reset = true; self.network_was_reset = true;
self.mqtt_interface.network_stack().reset(); self.mqtt_interface.network_stack().handle_link_reset();
} }
} else { } else {
self.network_was_reset = false; self.network_was_reset = false;