Skip to content

Commit

Permalink
Implement separator closing state
Browse files Browse the repository at this point in the history
  • Loading branch information
acodili-jg committed May 13, 2024
1 parent ab3f019 commit 180f839
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/sketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,13 @@ impl Sketch {
self.separator_hatch_enable.set_high();
}

State::SeparatorClosing if delta_ms < duration::SEPARATOR_TRANSITION => {}
State::SeparatorClosing => {
transition_to!(Blending);
self.separator_hatch_enable.set_low();
self.blender.set_high();
}

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

0 comments on commit 180f839

Please sign in to comment.