Skip to content

Commit 8157a20

Browse files
committed
feat: add Auto Server Discovery checkbox to wifi panel
1 parent 1f2ec5d commit 8157a20

File tree

3 files changed

+503
-8
lines changed

3 files changed

+503
-8
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ async fn main(spawner: Spawner) {
147147
#[cfg(feature = "qa")]
148148
spawner.must_spawn(qa::qa_processor(global_state.clone()));
149149

150-
let mut wm_settings = esp_hal_wifimanager::WmSettings::default();
150+
let mut wm_settings = esp_hal_wifimanager::WmSettings {
151+
wifi_panel: include_str!("panel.html"),
152+
..Default::default()
153+
};
154+
151155
wm_settings.ssid.clear();
152156
_ = core::fmt::write(
153157
&mut wm_settings.ssid,

0 commit comments

Comments
 (0)