forked from M-Labs/artiq-zynq
fix other compilation warnings
This commit is contained in:
parent
57ae8619f8
commit
07b425a67a
@ -430,10 +430,10 @@ pub fn main(timer: GlobalTimer, cfg: Config) {
|
||||
if let Some(buffer) = &*idle_kernel {
|
||||
info!("Loading idle kernel");
|
||||
let _ = load_kernel(&buffer, &control, None)
|
||||
.await.map_err(|e| warn!("error loading idle kernel"));
|
||||
.await.map_err(|_| warn!("error loading idle kernel"));
|
||||
info!("Running idle kernel");
|
||||
let _ = handle_run_kernel(None, &control)
|
||||
.await.map_err(|e| warn!("error running idle kernel"));
|
||||
.await.map_err(|_| warn!("error running idle kernel"));
|
||||
info!("Idle kernel terminated");
|
||||
}
|
||||
}).fuse() => (),
|
||||
|
@ -1,7 +1,6 @@
|
||||
use libboard_zynq;
|
||||
|
||||
#[cfg(feature = "target_zc706")]
|
||||
mod i2c {
|
||||
use libboard_zynq;
|
||||
use crate::artiq_raise;
|
||||
|
||||
static mut I2C_BUS: Option<libboard_zynq::i2c::I2c> = None;
|
||||
|
Loading…
Reference in New Issue
Block a user