From 07a51dfa58415c0eb48f4d2529a2efe8a5027570 Mon Sep 17 00:00:00 2001 From: Gabriel Stanciu <57194563+stanciugabriel@users.noreply.github.com> Date: Thu, 12 Mar 2026 11:28:32 +0200 Subject: [PATCH] Timer was set for 500 secs instead of 500 millis making the code hang --- lab02/src/bin/ex9.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab02/src/bin/ex9.rs b/lab02/src/bin/ex9.rs index 808c0ac..b48935d 100644 --- a/lab02/src/bin/ex9.rs +++ b/lab02/src/bin/ex9.rs @@ -67,7 +67,7 @@ async fn display_symbol(leds: &mut [Output<'_>; 3], morse_symbol: char) { // and it will panic if it tries to execute it. _ => panic!("Unknown mores code symbol {}", morse_symbol), } - Timer::after_secs(500).await; + Timer::after_millis(500).await; // Turn off all the LEDs //