Skip to content

Commit 69a9194

Browse files
authored
Fix URL error in adc.rst (#4903)
Replace ESP32 ADC source link with https://github.com/esphome/esphome/blob/dev/esphome/components/adc/adc_sensor_esp32.cpp
1 parent 679a5c6 commit 69a9194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/sensor/adc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Measuring higher voltages requires setting ``attenuation`` to one of the followi
7171
There's more information `at the manufacturer's website <https://docs.espressif.com/projects/esp-idf/en/v4.4.7/esp32/api-reference/peripherals/adc.html#_CPPv425adc1_config_channel_atten14adc1_channel_t11adc_atten_t>`__.
7272

7373
To simplify this, we provide the setting ``attenuation: auto`` for an automatic/seamless transition among scales. `Our implementation
74-
<https://github.com/esphome/esphome/blob/dev/esphome/components/adc/adc_sensor.cpp>`__ combines all available ranges to allow the best resolution without having to compromise on a specific attenuation.
74+
<https://github.com/esphome/esphome/blob/dev/esphome/components/adc/adc_sensor_esp32.cpp>`__ combines all available ranges to allow the best resolution without having to compromise on a specific attenuation.
7575

7676
.. note::
7777

0 commit comments

Comments
 (0)