experiments: fix timer.get_us() usage

tcp-recv-fnmut
Astro 3 years ago
parent f36b1a610e
commit 0aa75d3544
  1. 2
      experiments/src/main.rs

@ -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) = {

Loading…
Cancel
Save