Skip to content

Commit

Permalink
Implement pulp draining state
Browse files Browse the repository at this point in the history
  • Loading branch information
acodili-jg committed May 13, 2024
1 parent 91cb3f1 commit 9e80dd5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/sketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,14 @@ impl Sketch {
self.lower_drain_pump.set_high();
}

State::PulpDraining if delta_ms < duration::DRAINING => {}
State::PulpDraining => {
transition_to!(SetupSeparatorOpening);
self.lower_drain_pump.set_low();
self.separator_hatch_direction.set_low();
self.separator_hatch_enable.set_high();
}

_ => { /* TODO */ }
}
}
Expand Down

0 comments on commit 9e80dd5

Please sign in to comment.