drivers: input: esp32: fix reference voltage assignment

Fixed a copy-paste error where `refl` configuration value was not
properly assigned.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2025-06-09 16:38:02 +02:00 committed by Dan Kalowsky
commit 3d97b76438

View file

@ -186,7 +186,7 @@ static int esp32_touch_sensor_init(const struct device *dev)
#if defined(CONFIG_SOC_SERIES_ESP32)
touch_hal_volt_t volt = {
.refh = dev_cfg->href_microvolt_enum_idx,
.refh = dev_cfg->href_microvolt_enum_idx,
.refl = dev_cfg->lref_microvolt_enum_idx,
.atten = dev_cfg->href_atten_microvolt_enum_idx
};