forked from M-Labs/nac3
comms: remove idle kernel DRTIO error case
This commit is contained in:
parent
fee30033ec
commit
fad1db9796
|
@ -707,11 +707,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