diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-03 12:08:14 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-03 12:08:14 +0200 |
| commit | 09acf407dc5f432a2c293bde6ebf103b28af2549 (patch) | |
| tree | ca240db202dc66c03d05dd46e2e34777254cf2de /Software/Embedded_SW/Embedded/Modules/Diagnostics | |
| parent | 612f456f46ebf6726dd1aa2b0fe1476a72011d3a (diff) | |
| download | Tango-09acf407dc5f432a2c293bde6ebf103b28af2549.tar.gz Tango-09acf407dc5f432a2c293bde6ebf103b28af2549.zip | |
bugs, mostly in arc head init
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Diagnostics')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c b/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c index eb855fd4a..b159897aa 100644 --- a/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c +++ b/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c @@ -923,8 +923,8 @@ void DiagnosticOneSecCollection(void) tempFlow = HeadFlowMeter; }*/ WasteLevel = GetWHSWasteTankLevelMiliLiter()/1000;//change from ml to litter - static double InitCounter = 60.0; - if ((GetMachineState()<MACHINE_STATE_NO_PROCESS_PARAMS) &&(GetMachineState()>=MACHINE_STATE_WAIT_FOR_COOLER)) + static double InitCounter = 85.0; + if (GetMachineState()<=MACHINE_STATE_WAIT_FOR_COOLER) { InitCounter-=1.0; if(InitCounter<0)InitCounter = 0; |
