fix clippy

This commit is contained in:
Naxdy 2024-04-05 13:03:18 +02:00
parent 5614b96fef
commit c0dd94dbb5
Signed by: Naxdy
GPG key ID: CC15075846BCE91B

View file

@ -524,7 +524,7 @@ pub async fn update_button_state_task(
if input_consistency_mode == InputConsistencyMode::SuperHack {
if gcc_state != previous_state {
gcc_publisher.publish_immediate(gcc_state);
previous_state = gcc_state.clone();
previous_state = gcc_state;
}
} else {
gcc_publisher.publish_immediate(gcc_state);