mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2' into 'master'
adc: fix calibration error when waking up from light sleep on H2 and enable test Closes IDF-8569 See merge request espressif/esp-idf!27242
This commit is contained in:
@@ -286,14 +286,14 @@ static void s_adc_oneshot_with_sleep(adc_unit_t unit_id, adc_channel_t channel)
|
||||
#define ADC2_SLEEP_TEST_CHAN ADC_CHANNEL_0
|
||||
#endif
|
||||
|
||||
TEST_CASE("test ADC1 Single Read with Light Sleep", "[adc][manul][ignore]")
|
||||
TEST_CASE("test ADC1 Single Read with Light Sleep", "[adc]")
|
||||
{
|
||||
s_adc_oneshot_with_sleep(ADC_UNIT_1, ADC1_SLEEP_TEST_CHAN);
|
||||
}
|
||||
|
||||
#if (SOC_ADC_PERIPH_NUM >= 2) && !CONFIG_IDF_TARGET_ESP32C3
|
||||
//ESP32C3 ADC2 oneshot mode is not supported anymore
|
||||
TEST_CASE("test ADC2 Single Read with Light Sleep", "[adc][manul][ignore]")
|
||||
TEST_CASE("test ADC2 Single Read with Light Sleep", "[adc]")
|
||||
{
|
||||
s_adc_oneshot_with_sleep(ADC_UNIT_2, ADC2_SLEEP_TEST_CHAN);
|
||||
}
|
||||
|
Reference in New Issue
Block a user