spat: Show signal groups without timing information
This commit is contained in:
parent
f732585989
commit
ff45df8204
4 changed files with 35 additions and 24 deletions
|
|
@ -179,10 +179,11 @@ async fn main(spawner: Spawner) -> ! {
|
|||
let signal_groups = state.run_glosa();
|
||||
|
||||
for sig in &signal_groups {
|
||||
println!(
|
||||
"GLOSA: {} {} for {} s",
|
||||
sig.maneuver, sig.phase, sig.min_end_sec
|
||||
);
|
||||
let duration_str = sig
|
||||
.min_end_sec
|
||||
.map(|v| alloc::format!("for {v} s"))
|
||||
.unwrap_or_default();
|
||||
println!("GLOSA: {} {} {duration_str}", sig.maneuver, sig.phase);
|
||||
}
|
||||
|
||||
#[cfg(feature = "screen")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue