diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-02 20:13:27 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-11-02 20:13:27 +0200 |
| commit | 2a8d3d38bd80fe011f8e6921742574b2ff71fa72 (patch) | |
| tree | c1d2dd4c52d0e255039ed561363741df875155e7 /Software/Embedded_SW/Embedded/Modules/Diagnostics | |
| parent | f0905c07b9b5bc33aa9bad914ca799cf1e8a920c (diff) | |
| download | Tango-2a8d3d38bd80fe011f8e6921742574b2ff71fa72.tar.gz Tango-2a8d3d38bd80fe011f8e6921742574b2ff71fa72.zip | |
warning removed!
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Diagnostics')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c | 5 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c b/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c index fef3f05a8..eb855fd4a 100644 --- a/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c +++ b/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c @@ -422,7 +422,7 @@ void DiagnosticLoadDancerError(int DancerId, double value) double Shinko_Sv = 12,Shinko_Pv = 15; void LoadChillerState(HeaterType HeaterType,HeaterState *HeaterState) { - int HeaterId = HeaterType; + //int HeaterId = HeaterType; HeaterState->has_heatertype = true; HeaterState->heatertype = HeaterType; HeaterState->has_setpoint = true; @@ -611,7 +611,6 @@ void DiagnosticTenMsecCollection(void) void DiagnosticOneMinuteCollection(void) { int i; - bool status = OK; DiagnosticsMonitor.n_dispensersinklevel = 0; DiagnosticsMonitor.n_midtanksinklevel = 0; @@ -677,7 +676,7 @@ void DiagnosticOneMinuteCollection(void) { if (Get_Head_Heater_Current_Reading_State(i) == true) { - status = Get_Head_Current(i,&HeadCurrent[i][0]); + Get_Head_Current(i,&HeadCurrent[i][0]); switch(i) { case HEAD_CURRENT_ZONE_1: diff --git a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c index 7f8c9b8d8..c7f8740d1 100644 --- a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c +++ b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c @@ -34,6 +34,7 @@ #include "ids/ids_ex.h" #include "General/process.h" +#include "Thread/Thread_ex.h" #include "StateMachines/Printing/PrintingSTM.h" |
