Watch
0
0
Fork
You've already forked esp32-c_its-companion
0

spat: Use likely time, if available

This commit is contained in:
Jannik Beyerstedt 2026-06-20 19:53:01 +02:00
commit c771afe744
4 changed files with 33 additions and 18 deletions

View file

@ -180,7 +180,7 @@ async fn main(spawner: Spawner) -> ! {
for sig in &signal_groups {
let duration_str = sig
.min_end_sec
.end_sec
.map(|v| alloc::format!("for {v} s"))
.unwrap_or_default();
println!("GLOSA: {} {} {duration_str}", sig.maneuver, sig.phase);