From 5ae31a17057f34bb1349a890116bdb67e7ce0d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 26 Apr 2020 19:20:45 +0200 Subject: [PATCH] Increase ADC_PT1000_WATCHDOG_SAMPLE_COUNT to 50 --- stm-firmware/include/reflow-controller/adc-meas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm-firmware/include/reflow-controller/adc-meas.h b/stm-firmware/include/reflow-controller/adc-meas.h index d9b0a31..12f7dcd 100644 --- a/stm-firmware/include/reflow-controller/adc-meas.h +++ b/stm-firmware/include/reflow-controller/adc-meas.h @@ -63,7 +63,7 @@ * @brief Number of ADC samples the value has to be outside the Watchdog limit (@ref ADC_PT1000_UPPER_WATCHDOG and @ref ADC_PT1000_LOWER_WATCHDOG) * in order to produce a watchdog error */ -#define ADC_PT1000_WATCHDOG_SAMPLE_COUNT 10U +#define ADC_PT1000_WATCHDOG_SAMPLE_COUNT 50U enum adc_pt1000_error {ADC_PT1000_NO_ERR= 0, ADC_PT1000_WATCHDOG_ERROR=(1UL<<0), ADC_PT1000_OVERFLOW=(1UL<<1), ADC_PT1000_INACTIVE = (1UL<<2)};