forked from M-Labs/artiq-zynq
comms: remove idle kernel DRTIO error case
This commit is contained in:
parent
401504a2a5
commit
456935c9aa
|
@ -729,11 +729,6 @@ async fn load_and_run_idle_kernel(
|
||||||
info!("Loading idle kernel");
|
info!("Loading idle kernel");
|
||||||
let res = handle_flash_kernel(buffer, control, up_destinations, aux_mutex, routing_table, timer).await;
|
let res = handle_flash_kernel(buffer, control, up_destinations, aux_mutex, routing_table, timer).await;
|
||||||
match res {
|
match res {
|
||||||
#[cfg(has_drtio)]
|
|
||||||
Err(Error::DestinationDown) => {
|
|
||||||
let mut countdown = timer.countdown();
|
|
||||||
delay(&mut countdown, Milliseconds(500)).await;
|
|
||||||
}
|
|
||||||
Err(_) => warn!("error loading idle kernel"),
|
Err(_) => warn!("error loading idle kernel"),
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue