aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/StateMachines
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-11-29 16:36:21 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-11-29 16:36:21 +0200
commitc38ee983e35e9469cb8370c8bcdcb18738321327 (patch)
tree23874e9612864d9297aba11c07cef5f844c05980 /Software/Embedded_SW/Embedded/StateMachines
parent5c762220bfbd41370f5dabc99b6e273bc1347432 (diff)
downloadTango-c38ee983e35e9469cb8370c8bcdcb18738321327.tar.gz
Tango-c38ee983e35e9469cb8370c8bcdcb18738321327.zip
version 1.5.3.2 fix flat head and more
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines')
-rw-r--r--Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c b/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
index 2a8cdc2ac..5da32a538 100644
--- a/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
+++ b/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
@@ -644,6 +644,14 @@ uint32_t EndState(void *JobDetails, char *Message)
//EndWaiting[Module_Thread] = ModuleWaiting;
ThreadEndState();
}
+ if (Configured[Module_Waste])
+ {
+ PrepareWaiting[Module_Waste] = ModuleIdle;
+ //SegmentWaiting[Module_Waste] = ModuleIdle;
+ //PreSegmentWaiting[Module_Waste] = ModuleIdle;
+ //DistanceToSpoolWaiting[Module_Waste] = ModuleIdle;
+ //EndWaiting[Module_Thread] = ModuleWaiting;
+ }
CloseJobFile();
//ROM_IntMasterEnable();
SendJobProgress(0.0,0,true,Message);