fix rollback and windows build

This commit is contained in:
2024-02-21 15:36:26 +01:00
parent 57a0971c4b
commit bfee21796a
5 changed files with 160 additions and 109 deletions

View File

@@ -60,7 +60,7 @@ pub struct Plant {
pub pump_hour_start: u8,
pub pump_hour_end: u8,
pub sensor_b: bool,
pub sensor_p: bool
pub sensor_p: bool,
}
impl Default for Plant {
fn default() -> Self {
@@ -71,8 +71,8 @@ impl Default for Plant {
pump_hour_start: 8,
pump_hour_end: 20,
mode: Mode::OFF,
sensor_b : false,
sensor_p : false
sensor_b: false,
sensor_p: false,
}
}
}