mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-04 04:27:34 +00:00
debug logic and whitespace
This commit is contained in:
parent
b1a37037dd
commit
a0217d9ffd
2 changed files with 2 additions and 1 deletions
|
|
@ -745,6 +745,7 @@ fn wrapped_main() -> ! {
|
|||
if ((llio.adc_vbus().unwrap() as u32) * 503) > 150_000 {
|
||||
modals.show_notification(t!("mainmenu.cant_sleep", xous::LANG), None).expect("couldn't notify that power is plugged in");
|
||||
} else {
|
||||
// log::set_max_level(log::LevelFilter::Debug);
|
||||
susres.initiate_suspend().expect("couldn't initiate suspend op");
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ pub fn create_main_menu(keys: Arc<Mutex<RootKeys>>, menu_management_sid: xous::S
|
|||
// action_payload: MenuPayload::Scalar([0, 0, 0, 0]),
|
||||
// close_on_select: true,
|
||||
// });
|
||||
|
||||
|
||||
menuitems.push(MenuItem {
|
||||
name: String::from_str(t!("mainmenu.sleep", xous::LANG)),
|
||||
action_conn: Some(status_conn),
|
||||
|
|
|
|||
Loading…
Reference in a new issue