Increase ADC_PT1000_WATCHDOG_SAMPLE_COUNT to 50

This commit is contained in:
Mario Hüttel 2020-04-26 19:20:45 +02:00
parent ffe195d7b2
commit 5ae31a1705

View File

@ -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) * @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 * 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)}; 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)};