diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-20 17:02:19 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-20 17:02:19 +0200 |
| commit | 1452b0fd34fc4dbf5c8a421b50dd3eeb031a5493 (patch) | |
| tree | 12abf4efa9923d754a43350ff55a47fa67cfa4b5 /Software/Embedded_SW/Embedded/StateMachines | |
| parent | fcdc6fb98b59c6c2da99b1f3c57542e3e0af8fb8 (diff) | |
| download | Tango-1452b0fd34fc4dbf5c8a421b50dd3eeb031a5493.tar.gz Tango-1452b0fd34fc4dbf5c8a421b50dd3eeb031a5493.zip | |
small fixes
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines')
| -rw-r--r-- | Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c b/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c index 92ab2b43c..20780b8c1 100644 --- a/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c +++ b/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c @@ -239,7 +239,10 @@ bool DetectIfCurrentReadingStable(double HeaterCurrent) int average = 0; Maxcount_Heater_Current++; + //ReportWithPackageFilter(InitFilter,"DetectIfCurrentReadingStable", __FILE__,GetHeaterState(HEATER_TYPE__DryerMainHeater),(int)(HeaterCurrent*100), RpMessage, Maxcount_Heater_Current, 0); Heater_Current[count_Heater_Current++] = HeaterCurrent; + //if (HeaterCurrent<1) + // return false; if ( count_Heater_Current >= MAX_CURRENT_READING) { count_Heater_Current = 0; @@ -353,6 +356,7 @@ uint32_t InitSequenceInitialBlowerActivation(void) // Control_Voltage_To_Blower(BlowerCfg.voltage); // else Control_Voltage_To_Blower(4200); + Set_All_WHS_Fans(200); HWControlId = AddControlCallback("Init Blower", InitSequenceBlowerCallBackFunction, 10* eOneSecond, TemplateDataReadCBFunction,0,0, 0 ); /*if (RdInkCartridgeSensor()) //if there is a cartridge in the ink slot skip the valves procedure { |
