1
0
Fork 0

cargo fmt

This commit is contained in:
Sebastien Bourdeauducq 2024-08-05 19:37:55 +08:00
parent fad1db9796
commit 78d6b7ddcf
1 changed files with 3 additions and 2 deletions

View File

@ -705,14 +705,15 @@ async fn load_and_run_idle_kernel(
timer: GlobalTimer, timer: GlobalTimer,
) { ) {
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 {
Err(_) => warn!("error loading idle kernel"), Err(_) => warn!("error loading idle kernel"),
_ => (), _ => (),
} }
info!("Running idle kernel"); info!("Running idle kernel");
let _ = handle_run_kernel(None, control, up_destinations, aux_mutex, routing_table, timer) let _ = handle_run_kernel(None, control, up_destinations, aux_mutex, routing_table, timer)
.await.map_err(|_| warn!("error running idle kernel")); .await
.map_err(|_| warn!("error running idle kernel"));
info!("Idle kernel terminated"); info!("Idle kernel terminated");
} }