fix clippy
All checks were successful
Code quality / check (pull_request) Successful in 1m36s

This commit is contained in:
Naxdy 2024-04-05 13:03:18 +02:00
parent db7391f9d3
commit 8681239ef5
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);