mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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
|
|
@ -83,10 +83,7 @@ pub(crate) enum StatusOpcode {
|
|||
BatteryDisconnect,
|
||||
/// for returning wifi stats
|
||||
WifiStats,
|
||||
|
||||
/// Raise the wifi menu
|
||||
WifiMenu,
|
||||
|
||||
|
||||
/// Raise the preferences menu
|
||||
Preferences,
|
||||
Quit,
|
||||
|
|
@ -858,10 +855,6 @@ fn wrapped_main() -> ! {
|
|||
};
|
||||
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) => {
|
||||
ticktimer.sleep_ms(100).ok(); // yield for a moment to allow the previous menu to close
|
||||
gam.raise_menu(gam::PREFERENCES_MENU_NAME).unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue