incorporate rach mirgations into net

This commit is contained in:
bunnie 2025-05-11 12:36:33 +08:00
parent 6de085657a
commit 42c6417e46
2 changed files with 4 additions and 2 deletions

View file

@ -27,6 +27,8 @@ trng = { path = "../trng" }
com_rs = { git = "https://github.com/betrusted-io/com_rs", rev = "891bdd3ca8e41f81510d112483e178aea3e3a921" }
modals = { path = "../modals" }
locales = { path = "../../locales" }
precursor-hal = { path = "../../libs/precursor-hal" }
utralib = { version = "0.1.25", optional = true, default-features = false }
# for automatic SSID management and AP list storage

View file

@ -1098,9 +1098,9 @@ fn main() -> ! {
log::info!("Network config acquired: {:?}", config);
log::info!(
"{}NET.OK,{:?},{}",
xous::BOOKEND_START,
precursor_hal::board::BOOKEND_START,
std::net::IpAddr::from(config.addr),
xous::BOOKEND_END
precursor_hal::board::BOOKEND_END
);
net_config = Some(config);
// update a static variable that tracks this, useful for e.g. UDP bind