diff --git a/src/main.rs b/src/main.rs index e29bb19..fef779d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -251,7 +251,7 @@ async fn init_devices( // if the index of the button is higher than the button count if button_count < button.index { warn!("This button does not exist on device",); - continue 'device; + continue; } // create a channel for the module to receive device events let (button_sender, button_receiver) = mpsc::channel(4);