aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-05-11 23:29:30 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-05-11 23:29:30 +0300
commit0b31b5f619df5537e73560019b63979a380a121d (patch)
treeaeed84d825294d4d04494a898b14ab5fb4869c5e /Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
parentc53bba3c1e20af982f7f4774f22e6fa5061db6d8 (diff)
downloadTango-0b31b5f619df5537e73560019b63979a380a121d.tar.gz
Tango-0b31b5f619df5537e73560019b63979a380a121d.zip
fix flash problems, whs problems
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
index cdcecaa2a..19392c754 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c
@@ -197,12 +197,18 @@
}
else
{
- WHS_Set_SetPoint_Q_value(headairflow/2);
- Turn_the_Blower_On();//Turn on with the Default_Voltage
- if (BlowerCfg.heatingvoltage)
- Control_Voltage_To_Blower(BlowerCfg.heatingvoltage);
+ if(Head_Type > HEAD_TYPE_SYLKO_WITHOUT_CARD)
+ {
+ WHS_Set_SetPoint_Q_value(headairflow/2);
+ }
else
- Control_Voltage_To_Blower(BlowerCfg.voltage-500);
+ {
+ Turn_the_Blower_On();//Turn on with the Default_Voltage
+ if (BlowerCfg.heatingvoltage)
+ Control_Voltage_To_Blower(BlowerCfg.heatingvoltage);
+ else
+ Control_Voltage_To_Blower(BlowerCfg.voltage-500);
+ }
Control_Dryer_Fan(STOP,75);//use START or STOP, 0 - 100%
LoadStages++;
ThreadLoadStateMachine(LoadStages);