From 36b7e629ddbb57847774e4139d7069ab23007af4 Mon Sep 17 00:00:00 2001 From: t0mpr1c3 Date: Wed, 18 Oct 2023 19:54:08 -0400 Subject: [PATCH] Enter state Init after finishing Knit operation --- src/ayab/knitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ayab/knitter.cpp b/src/ayab/knitter.cpp index 3af894c14..81714ffee 100644 --- a/src/ayab/knitter.cpp +++ b/src/ayab/knitter.cpp @@ -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();