aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Heaters
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-11-03 12:08:14 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-11-03 12:08:14 +0200
commit09acf407dc5f432a2c293bde6ebf103b28af2549 (patch)
treeca240db202dc66c03d05dd46e2e34777254cf2de /Software/Embedded_SW/Embedded/Modules/Heaters
parent612f456f46ebf6726dd1aa2b0fe1476a72011d3a (diff)
downloadTango-09acf407dc5f432a2c293bde6ebf103b28af2549.tar.gz
Tango-09acf407dc5f432a2c293bde6ebf103b28af2549.zip
bugs, mostly in arc head init
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Heaters')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c
index 4a43485cd..af82cdd9f 100644
--- a/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c
+++ b/Software/Embedded_SW/Embedded/Modules/Heaters/Heaters_Blowers.c
@@ -345,9 +345,10 @@ void HeadBlowersCfg()
double PressureSensorInit(int blowerId)
{
- PressureSensorV0[blowerId] = MillisecGetTemperatures(BlowerIdToSensorId[blowerId]);
- PressureSensorV0[blowerId] /= 10;
- return PressureSensorV0[blowerId];
+ double V0;
+ V0 = MillisecGetTemperatures(BlowerIdToSensorId[blowerId]);
+ V0 /= 10;
+ return V0;
}
int HeadBlowersGetRPM(uint8_t blowerId)