fix typo in formatting field

This commit is contained in:
bunnie 2022-02-02 03:30:17 +08:00
parent ef0e6606ed
commit de81cf62c3

View file

@ -129,7 +129,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
match listener.accept() {
Ok((mut stream, addr)) => {
let elapsed_time = ticktimer.elapsed_ms();
let test_string = std::format!("Hello from Precursor!\n\rI have been up for {}:{:02}:{02}.\n\r",
let test_string = std::format!("Hello from Precursor!\n\rI have been up for {}:{:02}:{:02}.\n\r",
(elapsed_time / 3_600_000),
(elapsed_time / 60_000) % 60,
(elapsed_time / 1000) % 60,