mirror of
https://codeberg.org/Fl1tzi/microdeck.git
synced 2024-05-08 22:50:42 +00:00
fix issues with non existant buttons
This commit is contained in:
parent
e86cc5ae22
commit
b15fad561e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue