switch fertilizer to extra 1

This commit is contained in:
2026-05-01 10:45:54 +02:00
parent db0f7daa4c
commit 2ee3615dcd
4 changed files with 24 additions and 22 deletions

View File

@@ -484,11 +484,11 @@ impl<'a> BoardInteraction<'a> for V4<'a> {
Ok(())
}
async fn extra2(&mut self, enable: bool) -> FatResult<()> {
async fn extra1(&mut self, enable: bool) -> FatResult<()> {
if enable {
self.extra2.set_high();
self.extra1.set_high();
} else {
self.extra2.set_low();
self.extra1.set_low();
}
Ok(())
}
@@ -652,9 +652,7 @@ impl<'a> BoardInteraction<'a> for V4<'a> {
}
}
fn get_sensor_build_minutes(
&self,
) -> ([Option<u32>; PLANT_COUNT], [Option<u32>; PLANT_COUNT]) {
fn get_sensor_build_minutes(&self) -> ([Option<u32>; PLANT_COUNT], [Option<u32>; PLANT_COUNT]) {
(self.sensor_a_build_minutes, self.sensor_b_build_minutes)
}
}