1
0
Fork 0

Fix grabber build and warning

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2023-10-18 11:24:43 +08:00
parent b768d5648c
commit d3fbfd75b0
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ mod grabber {
use libasync::delay; use libasync::delay;
use libboard_artiq::grabber; use libboard_artiq::grabber;
use libboard_zynq::time::Milliseconds; use libboard_zynq::time::Milliseconds;
pub async fn grabber_thread(mut timer: GlobalTimer) { use crate::GlobalTimer;
pub async fn grabber_thread(timer: GlobalTimer) {
let mut countdown = timer.countdown(); let mut countdown = timer.countdown();
loop { loop {
grabber::tick(); grabber::tick();