From b752c5c4e701f072c6c4516e1bc0ba6446395e9b Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Wed, 29 Sep 2021 20:09:51 +0200 Subject: [PATCH] Set FilamentLoaded state to InSelector if FINDA triggers --- src/logic/feed_to_finda.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/logic/feed_to_finda.cpp b/src/logic/feed_to_finda.cpp index f1be568..2d64c40 100644 --- a/src/logic/feed_to_finda.cpp +++ b/src/logic/feed_to_finda.cpp @@ -34,6 +34,7 @@ bool FeedToFinda::Step() { if (mf::finda.Pressed() || (feedPhaseLimited && mui::userInput.AnyEvent())) { // @@TODO probably also a command from the printer mm::motion.AbortPlannedMoves(); // stop pushing filament // FINDA triggered - that means it works and detected the filament tip + mg::globals.SetFilamentLoaded(mg::FilamentLoadState::InSelector); state = OK; } else if (mm::motion.QueueEmpty()) { // all moves have been finished and FINDA didn't switch on state = Failed;