forked from M-Labs/nac3
Fix grabber build and warning
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
b768d5648c
commit
d3fbfd75b0
|
@ -62,7 +62,8 @@ mod grabber {
|
|||
use libasync::delay;
|
||||
use libboard_artiq::grabber;
|
||||
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();
|
||||
loop {
|
||||
grabber::tick();
|
||||
|
|
Loading…
Reference in New Issue