aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c b/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c
index e9ec2d56a..2a243c714 100644
--- a/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c
+++ b/Software/Embedded_SW/Embedded/Modules/Diagnostics/Diagnostics.c
@@ -847,14 +847,8 @@ void DiagnosticOneMinuteCollection(void)
}
}
}
- }
-
- VOC_Sensor = (double) Get_latest_Gas_Sensor_PPM();
- DiagnosticsMonitor.n_filterdeltapressure = 1;
- DiagnosticsMonitor.filterdeltapressure = &VOC_Sensor;
- DiagnosticsMonitor.n_gassensor = 1;
- DiagnosticsMonitor.gassensor = &VOC_Sensor;
+ }
DiagnosticsMonitor.n_blowervoltage = 1;
diagvoltage = getBlowerState();
DiagnosticsMonitor.blowervoltage = &diagvoltage;
@@ -1230,9 +1224,8 @@ void SendDiagnostics(void)
DiagnosticsMonitor.n_headzone5_6heatercurrent = 1;
DiagnosticsMonitor.headzone5_6heatercurrent = HeatersCurrent[HEATER_HEAD_CURRENT_ZONE_5_6];
*/
- VOC_Sensor = (double) getGasReading();
- DiagnosticsMonitor.n_filterdeltapressure = 1;
- DiagnosticsMonitor.filterdeltapressure = &VOC_Sensor;
+ VOC_Sensor = (double) Get_latest_Gas_Sensor_PPM();//(double) getGasReading();
+
DiagnosticsMonitor.n_gassensor = 1;
DiagnosticsMonitor.gassensor = &VOC_Sensor;