diff --git a/src/duration.rs b/src/duration.rs index 9aeee06..b24bc90 100644 --- a/src/duration.rs +++ b/src/duration.rs @@ -15,6 +15,7 @@ constants! { HEATED_MIXING = DEFAULT; HEATING = DEFAULT_LONG; LOCKING = DEFAULT_SHORT; + MIXING = DEFAULT_LONG; SEPARATOR_TRANSITION = DEFAULT; SOAK_WATER_PUMPING = DEFAULT_LONG; } diff --git a/src/sketch.rs b/src/sketch.rs index b095b38..ce7fa77 100644 --- a/src/sketch.rs +++ b/src/sketch.rs @@ -167,6 +167,13 @@ impl Sketch { self.heater.set_low(); } + State::SoakWaterMixing if delta_ms < duration::MIXING && !stop => {} + State::SoakWaterMixing => { + transition_to!(SoakWaterDraining); + self.mixer.set_low(); + self.upper_drain_pump.set_high(); + } + _ => { /* TODO */ } } }