mirror of
https://codeberg.org/Fl1tzi/microdeck.git
synced 2024-05-19 19:20:20 +00:00
fmt
This commit is contained in:
parent
1ef58a5088
commit
7be3c984bf
|
@ -250,9 +250,7 @@ async fn init_devices(
|
||||||
}
|
}
|
||||||
// if the index of the button is higher than the button count
|
// if the index of the button is higher than the button count
|
||||||
if button_count < button.index {
|
if button_count < button.index {
|
||||||
warn!(
|
warn!("This button does not exist on device",);
|
||||||
"This button does not exist on device",
|
|
||||||
);
|
|
||||||
continue 'device;
|
continue 'device;
|
||||||
}
|
}
|
||||||
// create a channel for the module to receive device events
|
// create a channel for the module to receive device events
|
||||||
|
|
Loading…
Reference in a new issue