refactor/plant-state-handling #11
| @@ -89,6 +89,7 @@ pub struct PlantConfig { | ||||
|     pub pump_cooldown_min: u16, | ||||
|     pub pump_hour_start: u8, | ||||
|     pub pump_hour_end: u8, | ||||
|     pub sensor_a: bool, | ||||
|     pub sensor_b: bool, | ||||
|     pub max_consecutive_pump_count: u8, | ||||
| } | ||||
| @@ -101,6 +102,7 @@ impl Default for PlantConfig { | ||||
|             pump_cooldown_min: 60, | ||||
|             pump_hour_start: 9, | ||||
|             pump_hour_end: 20, | ||||
|             sensor_a: true, | ||||
|             sensor_b: false, | ||||
|             max_consecutive_pump_count: 10, | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user