mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
chore: don't start wifi threads directly
Preferences crate will do that.
This commit is contained in:
parent
a7b950684f
commit
87cdfe5530
1 changed files with 0 additions and 3 deletions
|
|
@ -368,7 +368,6 @@ fn wrapped_main() -> ! {
|
||||||
let autobacklight_thread_already_running = Arc::new(Mutex::new(false));
|
let autobacklight_thread_already_running = Arc::new(Mutex::new(false));
|
||||||
let thread_conn = xous::connect(status_sid).unwrap();
|
let thread_conn = xous::connect(status_sid).unwrap();
|
||||||
|
|
||||||
wifi::start_background_thread();
|
|
||||||
preferences::start_background_thread();
|
preferences::start_background_thread();
|
||||||
|
|
||||||
// load system preferences
|
// load system preferences
|
||||||
|
|
@ -733,8 +732,6 @@ fn wrapped_main() -> ! {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
wifi::start_background_thread();
|
|
||||||
|
|
||||||
pump_run.store(true, Ordering::Relaxed); // start status thread updating
|
pump_run.store(true, Ordering::Relaxed); // start status thread updating
|
||||||
loop {
|
loop {
|
||||||
let msg = xous::receive_message(status_sid).unwrap();
|
let msg = xous::receive_message(status_sid).unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue