main: cleanup before PR

This commit is contained in:
topquark12 2021-01-26 15:32:34 +08:00
parent 0202363c70
commit f5ce788eb6
1 changed files with 1 additions and 3 deletions

View File

@ -203,8 +203,8 @@ fn main() -> ! {
warn!("poll: {:?}", e);
});
// TCP protocol handling
if ! should_reset {
// TCP protocol handling
server.for_each(|mut socket, session| {
if ! socket.is_active() {
let _ = socket.listen(TCP_PORT);
@ -424,7 +424,6 @@ fn main() -> ! {
channels.power_down(i);
}
should_reset = true;
// SCB::sys_reset();
}
Command::Dfu => {
for i in 0..CHANNELS {
@ -434,7 +433,6 @@ fn main() -> ! {
dfu::set_dfu_trigger();
}
should_reset = true;
// SCB::sys_reset();
}
}
Ok(SessionInput::Error(e)) => {