Updating after DHCP PR review
This commit is contained in:
parent
e5505925a9
commit
4a9c2fe23a
|
@ -426,7 +426,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "minimq"
|
name = "minimq"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
source = "git+https://github.com/quartiq/minimq.git?branch=feature/init-update#e686ccd89090f32990661fe49416d570e2e80835"
|
source = "git+https://github.com/quartiq/minimq.git#933687c2e4bc8a4d972de9a4d1508b0b554a8b38"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bit_field",
|
"bit_field",
|
||||||
"embedded-nal",
|
"embedded-nal",
|
||||||
|
@ -708,7 +708,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/dhcp-support#5c62caa539d011c45453314c5872e9ca9cd9f780"
|
source = "git+https://github.com/quartiq/smoltcp-nal.git?branch=feature/dhcp-support#b3de37939140d04a64c79afddb97b81ff49e1f23"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"embedded-nal",
|
"embedded-nal",
|
||||||
"heapless 0.6.1",
|
"heapless 0.6.1",
|
||||||
|
|
|
@ -52,7 +52,6 @@ branch = "develop"
|
||||||
|
|
||||||
[patch.crates-io.minimq]
|
[patch.crates-io.minimq]
|
||||||
git = "https://github.com/quartiq/minimq.git"
|
git = "https://github.com/quartiq/minimq.git"
|
||||||
branch = "feature/init-update"
|
|
||||||
|
|
||||||
[dependencies.smoltcp-nal]
|
[dependencies.smoltcp-nal]
|
||||||
git = "https://github.com/quartiq/smoltcp-nal.git"
|
git = "https://github.com/quartiq/smoltcp-nal.git"
|
||||||
|
|
|
@ -144,7 +144,13 @@ const APP: () = {
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let sleep = c.resources.mqtt_interface.lock(|interface| {
|
let sleep = c.resources.mqtt_interface.lock(|interface| {
|
||||||
!interface.network_stack().poll(clock.current_ms())
|
match interface.network_stack().poll(clock.current_ms()) {
|
||||||
|
Ok(updated) => !updated,
|
||||||
|
Err(err) => {
|
||||||
|
log::info!("Network error: {:?}", err);
|
||||||
|
true
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
match c
|
match c
|
||||||
|
|
|
@ -208,7 +208,13 @@ const APP: () = {
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let sleep = c.resources.mqtt_interface.lock(|interface| {
|
let sleep = c.resources.mqtt_interface.lock(|interface| {
|
||||||
!interface.network_stack().poll(clock.current_ms())
|
match interface.network_stack().poll(clock.current_ms()) {
|
||||||
|
Ok(updated) => !updated,
|
||||||
|
Err(err) => {
|
||||||
|
log::info!("Network error: {:?}", err);
|
||||||
|
true
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if c.resources
|
if c.resources
|
||||||
|
|
Loading…
Reference in New Issue