From 109f2a7449080b7f7882f3811036ac398d13254d Mon Sep 17 00:00:00 2001 From: Armando Date: Tue, 8 Mar 2022 19:39:35 +0800 Subject: [PATCH] adc: update adc 5.0 migration guide for adc_unit_t --- docs/en/migration-guides/peripherals.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/migration-guides/peripherals.rst b/docs/en/migration-guides/peripherals.rst index 58cb0a342b..24c6e44caa 100644 --- a/docs/en/migration-guides/peripherals.rst +++ b/docs/en/migration-guides/peripherals.rst @@ -20,7 +20,8 @@ To make the API clearer, we renamed the function ``esp_rom_spiflash_lock`` to `` ADC --- -Previous `driver/adc2_wifi_private.h` has been moved to `esp_private/adc2_wifi.h`. +- Previous `driver/adc2_wifi_private.h` has been moved to `esp_private/adc2_wifi.h`. +- Enums `ADC_UNIT_BOTH`, `ADC_UNIT_ALTER` and `ADC_UNIT_MAX` in ``adc_unit_t`` are removed. GPIO ----