diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-10-25 00:32:34 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-10-25 00:32:34 +0300 |
| commit | a9b9870cf6a00914d4b336dbf31a6d9f5f377d39 (patch) | |
| tree | b01051dc95ae2ad7c85898cfda14b01ae4c6cdbb | |
| parent | 90b5d8c2fdaba7abecae6676fa4a5f50efbefc9c (diff) | |
| download | Tango-a9b9870cf6a00914d4b336dbf31a6d9f5f377d39.tar.gz Tango-a9b9870cf6a00914d4b336dbf31a6d9f5f377d39.zip | |
fix
| -rw-r--r-- | Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_Max5805_ADC_Blower/WHS_Blower.c | 2 | ||||
| -rw-r--r-- | Software/Stubs Collection/stubs/embeddedparametersbuild_w_cleaning.cs | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_Max5805_ADC_Blower/WHS_Blower.c b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_Max5805_ADC_Blower/WHS_Blower.c index 73fe02180..ce6b34dd9 100644 --- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_Max5805_ADC_Blower/WHS_Blower.c +++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/WHS_Card/D_Max5805_ADC_Blower/WHS_Blower.c @@ -500,7 +500,7 @@ bool WHS_Set_Blower_Control_Closed_Loop(double Q_value) if (JobEndSuction == true) { JobEndSuction = false; - Report("------------ Job end Clearing Suction -----------------", __FILE__,__LINE__, (int)4000, RpMessage, (int)JobEndSuctionTime, 0); + Report("------------ Job end Clearing Suction -----------------", __FILE__,__LINE__, (int)4000, RpMessage, (int)SublimationBlowTime, 0); Control_Voltage_To_Blower(4000); close_loop_time = SublimationBlowTime; return OK; diff --git a/Software/Stubs Collection/stubs/embeddedparametersbuild_w_cleaning.cs b/Software/Stubs Collection/stubs/embeddedparametersbuild_w_cleaning.cs index 7716a920c..6627a4d60 100644 --- a/Software/Stubs Collection/stubs/embeddedparametersbuild_w_cleaning.cs +++ b/Software/Stubs Collection/stubs/embeddedparametersbuild_w_cleaning.cs @@ -144,6 +144,14 @@ double SublimationBlowTime = new Double(); SublimationBlowTime = 30.0 configurationParameters.GeneralParameters.Add(SublimationBlowTime); +double AllowedRangeForHeadBlowerDeviation = new Double(); +AllowedRangeForHeadBlowerDeviation = 7; +configurationParameters.GeneralParameters.Add(AllowedRangeForHeadBlowerDeviation); + +double AllowedRangeForWasteBlowerDeviation = new Double(); +AllowedRangeForWasteBlowerDeviation = 20; +configurationParameters.GeneralParameters.Add(AllowedRangeForWasteBlowerDeviation); + File.WriteAllBytes("C:/temp/EmbParam.cfg",configurationParameters.ToBytes()); |
