aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Heaters
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-04-29 14:10:49 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-04-29 14:10:49 +0300
commitfd7196c48de7ca02e9461b08022bb5538b0ec42e (patch)
tree0caa9702fccf511123f5e08bc0f9a4108ec1890f /Software/Embedded_SW/Embedded/Modules/Heaters
parent2b838164abd4f282a29a7ec9ad3a38d474b241fc (diff)
downloadTango-fd7196c48de7ca02e9461b08022bb5538b0ec42e.tar.gz
Tango-fd7196c48de7ca02e9461b08022bb5538b0ec42e.zip
dispenser dtat writing disabled (potential disconnect cause). heaters bug.
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Heaters')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c
index 8fe0a9fd8..7a013f49f 100644
--- a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_print.c
@@ -875,7 +875,7 @@ uint32_t HeaterControlCBFunction(uint32_t IfIndex, uint32_t readValue)
Control_Voltage_To_Blower(BlowerCfg.voltage);
}
}
- if ((HeaterCmd[index].targettemperatue * AcHeatersLoweroperationLimit/1000)&&(readValue < (HeaterCmd[index].targettemperatue * AcHeatersUpperoperationLimit/1000)))//read value within 0.5 percent from target
+ if ((readValue > HeaterCmd[index].targettemperatue * AcHeatersLoweroperationLimit/1000)&&(readValue < (HeaterCmd[index].targettemperatue * AcHeatersUpperoperationLimit/1000)))//read value within 0.5 percent from target
{
//////////////////
//InitialHeating = false;