mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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 {
|
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");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue