Skip to content

Commit

Permalink
Enter state Init after finishing Knit operation
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mpr1c3 committed Oct 18, 2023
1 parent df5c27c commit 876b344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ayab/knitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ bool Knitter::calculatePixelAndSolenoid() {
*/
void Knitter::stopKnitting() const {
GlobalBeeper::endWork();
GlobalFsm::setState(OpState::ready);
GlobalFsm::setState(OpState::init);

GlobalSolenoids::setSolenoids(SOLENOIDS_BITMASK);
GlobalBeeper::finishedLine();
Expand Down

0 comments on commit 876b344

Please sign in to comment.