not working wip of station mode

This commit is contained in:
2025-09-25 22:32:10 +02:00
parent e20b474dfd
commit 336961f0a0
3 changed files with 150 additions and 118 deletions

View File

@@ -381,11 +381,14 @@ impl PlantHal {
lfs2Filesystem::mount(alloc, lfs2filesystem).expect("Could not mount lfs2 filesystem"),
));
let ap = interfaces.ap;
let sta = interfaces.sta;
let mut esp = Esp {
fs,
rng,
controller: Arc::new(Mutex::new(controller)),
interfaces: Some(interfaces),
interface_sta : Some(sta),
interface_ap : Some(ap),
boot_button,
mqtt_client: None,
ota,