mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_adc: add esp32c2 adc high/low test threshold and expected val
This commit is contained in:
parent
508935c457
commit
f905f6ab7c
@ -47,11 +47,11 @@
|
|||||||
#define ADC_TEST_HIGH_THRESH 0
|
#define ADC_TEST_HIGH_THRESH 0
|
||||||
|
|
||||||
#elif CONFIG_IDF_TARGET_ESP32C2
|
#elif CONFIG_IDF_TARGET_ESP32C2
|
||||||
#define ADC_TEST_LOW_VAL 2147
|
#define ADC_TEST_LOW_VAL 0
|
||||||
#define ADC_TEST_LOW_THRESH 100
|
#define ADC_TEST_LOW_THRESH 15
|
||||||
|
|
||||||
#define ADC_TEST_HIGH_VAL 4095
|
#define ADC_TEST_HIGH_VAL 3400
|
||||||
#define ADC_TEST_HIGH_THRESH 0
|
#define ADC_TEST_HIGH_THRESH 200
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -65,11 +65,11 @@ extern "C" {
|
|||||||
#define ADC_TEST_HIGH_THRESH 0
|
#define ADC_TEST_HIGH_THRESH 0
|
||||||
|
|
||||||
#elif CONFIG_IDF_TARGET_ESP32C2
|
#elif CONFIG_IDF_TARGET_ESP32C2
|
||||||
#define ADC_TEST_LOW_VAL 2147
|
#define ADC_TEST_LOW_VAL 0
|
||||||
#define ADC_TEST_LOW_THRESH 100
|
#define ADC_TEST_LOW_THRESH 15
|
||||||
|
|
||||||
#define ADC_TEST_HIGH_VAL 4095
|
#define ADC_TEST_HIGH_VAL 3400
|
||||||
#define ADC_TEST_HIGH_THRESH 0
|
#define ADC_TEST_HIGH_THRESH 200
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user