This commit is contained in:
Fl1tzi 2023-04-05 00:06:07 +02:00
parent 1ef58a5088
commit 7be3c984bf

View file

@ -250,9 +250,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",
);
warn!("This button does not exist on device",);
continue 'device;
}
// create a channel for the module to receive device events