Bugfix/gpt reflash (#2266)

* debug entry

* update magic numbers

* remove dbg

* fix hostname

* fix reinstall logic
This commit is contained in:
Aiden McClelland
2023-05-11 14:16:19 -06:00
committed by GitHub
parent 068b861edc
commit c7d82102ed
5 changed files with 23 additions and 22 deletions

View File

@@ -55,6 +55,8 @@ async fn setup_or_init(cfg_path: Option<PathBuf>) -> Result<(), Error> {
.await
.is_err()
{
embassy::hostname::sync_hostname(&embassy::hostname::Hostname("embassy".into())).await?;
let ctx = SetupContext::init(cfg_path).await?;
let server = WebServer::setup(([0, 0, 0, 0], 80).into(), ctx.clone()).await?;