aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/StateMachines/Initialization
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-03-31 19:38:11 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-03-31 19:38:11 +0300
commitdd2bc0b67daea21cd1220a21d61da306c7523e31 (patch)
treeb9eebef284d2c275c1aea21e2c9bae23f54e36d7 /Software/Embedded_SW/Embedded/StateMachines/Initialization
parent42391bb46aa9dda0f56a7909268a2cffdf36f1d8 (diff)
downloadTango-dd2bc0b67daea21cd1220a21d61da306c7523e31.tar.gz
Tango-dd2bc0b67daea21cd1220a21d61da306c7523e31.zip
Version 1.4.6.20 - Head Cleaning from PPC, Dye sequence stubs (special dispensers, WCF, Waste time)
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines/Initialization')
-rw-r--r--Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c
index 10dde5bbe..4b6eb93f3 100644
--- a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c
+++ b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c
@@ -138,7 +138,7 @@ uint32_t PowerOffHeadClean(void)
//TBD
if (AutoHoming_Config >= AutoHoming_PowerOff )
AutoHoming_Config = AutoHoming_JobEnd_PowerOn_off;
- if (ThreadCleaningJobFunc(50) == OK)
+ if (ThreadCleaningJob(50) == OK)
{
if (PowerOffHeadCleanControlId != 0xFF)
{
@@ -423,11 +423,11 @@ uint32_t PowerOffTurnOffDryerFan(void)
int i;
Control_Dryer_Fan(STOP,75);//use START or STOP, 0 - 100%
PowerOffMachineState++;
-
-#ifndef SPECIAL_DISPENSERS
- for (i=0;i<MAX_SYSTEM_DISPENSERS;i++)
- Control3WayValvesWithCallback ((Valves_t)i, Dispenser_Mixer, NULL); //direction: MidTank_Dispenser or Dispenser_Mixer
-#endif
+ if (Special_Dispensers == false)
+ {
+ for (i=0;i<MAX_SYSTEM_DISPENSERS;i++)
+ Control3WayValvesWithCallback ((Valves_t)i, Dispenser_Mixer, NULL); //direction: MidTank_Dispenser or Dispenser_Mixer
+ }
//TBD
return OK;