mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
chore: remove wifi menu mentions from status main
This commit is contained in:
parent
83d67a663b
commit
1c55028af6
1 changed files with 1 additions and 8 deletions
|
|
@ -84,9 +84,6 @@ pub(crate) enum StatusOpcode {
|
||||||
/// for returning wifi stats
|
/// for returning wifi stats
|
||||||
WifiStats,
|
WifiStats,
|
||||||
|
|
||||||
/// Raise the wifi menu
|
|
||||||
WifiMenu,
|
|
||||||
|
|
||||||
/// Raise the preferences menu
|
/// Raise the preferences menu
|
||||||
Preferences,
|
Preferences,
|
||||||
Quit,
|
Quit,
|
||||||
|
|
@ -858,10 +855,6 @@ fn wrapped_main() -> ! {
|
||||||
};
|
};
|
||||||
wifi_status = WlanStatus::from_ipc(buffer.to_original::<com::WlanStatusIpc, _>().unwrap());
|
wifi_status = WlanStatus::from_ipc(buffer.to_original::<com::WlanStatusIpc, _>().unwrap());
|
||||||
},
|
},
|
||||||
Some(StatusOpcode::WifiMenu) => {
|
|
||||||
ticktimer.sleep_ms(100).ok(); // yield for a moment to allow the previous menu to close
|
|
||||||
gam.raise_menu(gam::WIFI_MENU_NAME).unwrap();
|
|
||||||
},
|
|
||||||
Some(StatusOpcode::Preferences) => {
|
Some(StatusOpcode::Preferences) => {
|
||||||
ticktimer.sleep_ms(100).ok(); // yield for a moment to allow the previous menu to close
|
ticktimer.sleep_ms(100).ok(); // yield for a moment to allow the previous menu to close
|
||||||
gam.raise_menu(gam::PREFERENCES_MENU_NAME).unwrap();
|
gam.raise_menu(gam::PREFERENCES_MENU_NAME).unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue