From a9b9870cf6a00914d4b336dbf31a6d9f5f377d39 Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Sun, 25 Oct 2020 00:32:34 +0300 Subject: fix --- .../I2C_Communication/WHS_Card/D_Max5805_ADC_Blower/WHS_Blower.c | 2 +- .../Stubs Collection/stubs/embeddedparametersbuild_w_cleaning.cs | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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()); -- cgit v1.3.1