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:
parent
c83fbaee14
commit
3d97b76438
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue