aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-10-25 00:28:40 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-10-25 00:28:40 +0300
commit90b5d8c2fdaba7abecae6676fa4a5f50efbefc9c (patch)
treebfb9472f23d03570a34b18b5e2dd021eed693ba8 /Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
parentc3999dfaef65de6b901cb9ad1ba3a61734ddb7c7 (diff)
downloadTango-90b5d8c2fdaba7abecae6676fa4a5f50efbefc9c.tar.gz
Tango-90b5d8c2fdaba7abecae6676fa4a5f50efbefc9c.zip
improve sublimation handling (set length, cancel, prevent on jogging/cleaning)
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c')
-rw-r--r--Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c b/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
index d65dbadd9..3b0844934 100644
--- a/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
+++ b/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c
@@ -645,6 +645,10 @@ uint32_t EndState(void *JobDetails, char *Message)
CloseJobFile();
//ROM_IntMasterEnable();
SendJobProgress(0.0,0,true,Message);
+ if ((JoggingJobActive==false)&&(CleaningJobActive == false))
+ {
+ WHS_Set_JobEndSuction();
+ }
if (JoggingJobActive == true)
{
JoggingJobActive = false;