chore: don't start wifi threads directly

Preferences crate will do that.
This commit is contained in:
Gianguido Sorà 2022-11-02 17:11:17 +01:00
parent a7b950684f
commit 87cdfe5530

View file

@ -368,7 +368,6 @@ fn wrapped_main() -> ! {
let autobacklight_thread_already_running = Arc::new(Mutex::new(false));
let thread_conn = xous::connect(status_sid).unwrap();
wifi::start_background_thread();
preferences::start_background_thread();
// load system preferences
@ -732,8 +731,6 @@ fn wrapped_main() -> ! {
}
}
});
wifi::start_background_thread();
pump_run.store(true, Ordering::Relaxed); // start status thread updating
loop {