main: update comment

pull/53/head
topquark12 2021-01-26 17:32:46 +08:00
parent 4f957e1bd1
commit e459b83da3
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ fn main() -> ! {
any_socket_alive = true; any_socket_alive = true;
} }
}); });
// Must let loop run one more cycle to poll server in order for RST to be sent, // Must let loop run for one more cycle to poll server for RST to be sent,
// this makes sure system does not reset right after socket.abort() is called. // this makes sure system does not reset right after socket.abort() is called.
if !any_socket_alive { if !any_socket_alive {
SCB::sys_reset(); SCB::sys_reset();