debug logic and whitespace

This commit is contained in:
bunnie 2022-06-28 01:14:38 +08:00
parent b1a37037dd
commit a0217d9ffd
2 changed files with 2 additions and 1 deletions

View file

@ -745,6 +745,7 @@ fn wrapped_main() -> ! {
if ((llio.adc_vbus().unwrap() as u32) * 503) > 150_000 { 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"); modals.show_notification(t!("mainmenu.cant_sleep", xous::LANG), None).expect("couldn't notify that power is plugged in");
} else { } else {
// log::set_max_level(log::LevelFilter::Debug);
susres.initiate_suspend().expect("couldn't initiate suspend op"); susres.initiate_suspend().expect("couldn't initiate suspend op");
} }
}, },