fix clippy

This commit is contained in:
Naxdy 2024-04-05 13:03:18 +02:00
parent be8afc0b26
commit 606c8e2d14
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 input_consistency_mode == InputConsistencyMode::SuperHack {
if gcc_state != previous_state { if gcc_state != previous_state {
gcc_publisher.publish_immediate(gcc_state); gcc_publisher.publish_immediate(gcc_state);
previous_state = gcc_state.clone(); previous_state = gcc_state;
} }
} else { } else {
gcc_publisher.publish_immediate(gcc_state); gcc_publisher.publish_immediate(gcc_state);