From c4ce42f7a4c4ef29d3277a69f329d5afc24a20df Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 25 Apr 2020 01:36:15 +0200 Subject: [PATCH] runtime: use GlobalTimer --- runtime/src/comms.rs | 7 +++---- runtime/src/main.rs | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/runtime/src/comms.rs b/runtime/src/comms.rs index a8d61371a..2e25b4b02 100644 --- a/runtime/src/comms.rs +++ b/runtime/src/comms.rs @@ -16,6 +16,7 @@ use libboard_zynq::{ iface::{NeighborCache, EthernetInterfaceBuilder, Routes}, time::Instant, }, + timer::GlobalTimer, }; use libsupport_zynq::alloc::{vec, vec::Vec}; use libasync::{smoltcp::{Sockets, TcpStream}, task}; @@ -205,7 +206,7 @@ async fn handle_connection(stream: &TcpStream, control: Rc