aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-09-03 14:35:49 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-09-03 14:35:49 +0300
commitb8aef0537ad419b20efba682bfd06caeb53fe444 (patch)
tree91867a4df1b28c9af879083a6c3e3cd1a245f2d4 /Software/Embedded_SW/Embedded/Drivers/ADC_Sampling
parent62905aaa550ea584f29feae2ba35fc6df6c42c8f (diff)
downloadTango-b8aef0537ad419b20efba682bfd06caeb53fe444.tar.gz
Tango-b8aef0537ad419b20efba682bfd06caeb53fe444.zip
improve winding, logs, pressure handling
Diffstat (limited to 'Software/Embedded_SW/Embedded/Drivers/ADC_Sampling')
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC_VOC_Sensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC_VOC_Sensor.c b/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC_VOC_Sensor.c
index 7eccf5c58..71a7ef034 100644
--- a/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC_VOC_Sensor.c
+++ b/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC_VOC_Sensor.c
@@ -23,7 +23,7 @@
uint16_t VOC_Index = 0;
uint8_t Gas_PPM[MAX_VOC_SAMPLES] = {0};
-uint32_t VOC_Slope=0,VOC_AverageLimit=0, VOC_Slope_Time=0;
+uint32_t VOC_Slope=2,VOC_AverageLimit=0, VOC_Slope_Time=10;
bool VOC_TimeAlarm = false,VOC_SlopeAlarm = false;
void VOCAlarmsInit(void)