diff --git a/V1/led5/src/main.rs b/V1/led5/src/main.rs index 9361091..193d6f4 100644 --- a/V1/led5/src/main.rs +++ b/V1/led5/src/main.rs @@ -91,9 +91,8 @@ fn main() { watchdog.join().expect("Watchdog thread paniced"); } -fn watchdog(thread: JoinHandle<()>, spanic: chan::Sender<()>) { +fn watchdog(thread: JoinHandle<()>, _spanic: chan::Sender<()>) { thread.join().expect("Thread paniced"); - spanic.send(()); } fn run(rdone: chan::Receiver<()>) {