experiments: fix timer.get_us() usage

tcp-recv-fnmut
Astro 2020-07-22 23:47:57 +02:00
parent f36b1a610e
commit 0aa75d3544
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ pub fn main_core0() {
loop {
delay(&mut countdown, Milliseconds(1000)).await;
let timestamp = timer.get_us();
let timestamp = timer.get_us().0;
let seconds = timestamp / 1_000_000;
let micros = timestamp % 1_000_000;
let (rx, tx) = {