perf: force min adc read count for stick coords (#30)

Reviewed-on: #30
This commit was merged in pull request #30.
This commit is contained in:
Naxdy committed 2025-02-05 17:46:31 +00:00
1 parent 0a0754c248
commit 16a69723a8
1 file changed
+1 -1
+1 -1
View File
@@ -224,7 +224,7 @@ async fn update_stick_states(
let loop_end = Instant::now();
done = loop_end >= end_time - (loop_end - loop_start);
done = loop_end >= end_time - (loop_end - loop_start) && adc_count >= 4;
}
trace!("ADC Count: {}", adc_count);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.