main: power_down channels before sys_reset
This commit is contained in:
parent
83589610b5
commit
9f70ef2e0a
@ -459,6 +459,10 @@ fn main() -> ! {
|
||||
}
|
||||
}
|
||||
Command::Reset => {
|
||||
for i in 0..CHANNELS {
|
||||
channels.power_down(i);
|
||||
}
|
||||
|
||||
SCB::sys_reset();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user