reduce amount of warnings

This commit is contained in:
2025-09-11 20:17:18 +02:00
parent 4fa1a05fc3
commit 4faae86a6b
5 changed files with 9 additions and 19 deletions

View File

@@ -113,7 +113,7 @@ pub trait BoardInteraction<'a> {
impl dyn BoardInteraction<'_> {
//the counter is just some arbitrary number that increases whenever some progress was made, try to keep the updates < 10 per second for ux reasons
fn progress(&mut self, counter: u32) {
fn _progress(&mut self, counter: u32) {
let even = counter % 2 == 0;
let current = counter / (PLANT_COUNT as u32);
for led in 0..PLANT_COUNT {