update SEEN_ASYNC_ERRORS in destination_survey #195

Merged
sb10q merged 2 commits from kk105/artiq-zynq:Update-SEEN_ASYNC_ERRORS into master 2022-06-20 17:41:08 +08:00
1 changed files with 1 additions and 4 deletions
Showing only changes of commit 690cf800de - Show all commits

View File

@ -8,10 +8,7 @@ use libcortex_a9::mutex::Mutex;
#[cfg(has_drtio)] #[cfg(has_drtio)]
pub mod drtio { pub mod drtio {
use super::*; use super::*;
use crate::SEEN_ASYNC_ERRORS; use crate::{SEEN_ASYNC_ERRORS, ASYNC_ERROR_BUSY, ASYNC_ERROR_SEQUENCE_ERROR, ASYNC_ERROR_COLLISION};
Outdated
Review

Could be a single line use crate::{SEEN_ASYNC_ERRORS, ASYNC_ERROR_BUSY, ...}

Could be a single line ``use crate::{SEEN_ASYNC_ERRORS, ASYNC_ERROR_BUSY, ...}``
use crate::ASYNC_ERROR_BUSY;
use crate::ASYNC_ERROR_SEQUENCE_ERROR;
use crate::ASYNC_ERROR_COLLISION;
use libboard_artiq::drtioaux_async; use libboard_artiq::drtioaux_async;
use libboard_artiq::drtioaux_async::Packet; use libboard_artiq::drtioaux_async::Packet;
use libboard_artiq::drtioaux::Error; use libboard_artiq::drtioaux::Error;