From 87cdfe55304966746f668aaeb0368ef3955bcf13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gianguido=20Sor=C3=A0?= Date: Wed, 2 Nov 2022 17:11:17 +0100 Subject: [PATCH] chore: don't start wifi threads directly Preferences crate will do that. --- services/status/src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/status/src/main.rs b/services/status/src/main.rs index 96e3c58f2..71b30bcc6 100644 --- a/services/status/src/main.rs +++ b/services/status/src/main.rs @@ -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 {