mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-04 04:27:34 +00:00
deprecate reboot function in test routines
This commit is contained in:
parent
9a4b530046
commit
dc2c79df4d
1 changed files with 4 additions and 2 deletions
|
|
@ -632,7 +632,8 @@ impl<'a> ShellCmdApi<'a> for Test {
|
|||
env.com.ship_mode().unwrap();
|
||||
|
||||
// now send the power off command
|
||||
env.com.power_off_soc().unwrap();
|
||||
let susres = susres::Susres::new_without_hook(&env.xns).unwrap();
|
||||
susres.immediate_poweroff().unwrap();
|
||||
|
||||
log::info!("CMD: ship mode now!");
|
||||
// pause execution, nothing after this should be reachable
|
||||
|
|
@ -758,7 +759,8 @@ impl<'a> ShellCmdApi<'a> for Test {
|
|||
env.com.ship_mode().unwrap();
|
||||
|
||||
// now send the power off command
|
||||
env.com.power_off_soc().unwrap();
|
||||
let susres = susres::Susres::new_without_hook(&env.xns).unwrap();
|
||||
susres.immediate_poweroff().unwrap();
|
||||
|
||||
log::info!("CMD: ship mode now!");
|
||||
// pause execution, nothing after this should be reachable
|
||||
|
|
|
|||
Loading…
Reference in a new issue