drivers: adc: max1125x: fix typo in GPIO config
Corrected the property assignment for gpo0_enable. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
6c4ed097ff
commit
45920741dc
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ static DEVICE_API(adc, max1125x_api) = {
|
|||
.gpio.gpio1_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpio1_enable, 0), \
|
||||
.gpio.gpio0_direction = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpio0_direction, 0), \
|
||||
.gpio.gpio1_direction = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpio1_direction, 0), \
|
||||
.gpo.gpo0_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpo1_enable, 0), \
|
||||
.gpo.gpo0_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpo0_enable, 0), \
|
||||
.gpo.gpo1_enable = DT_PROP_OR(DT_INST_MAX1125X(n, t), gpo1_enable, 0), \
|
||||
}; \
|
||||
static struct max1125x_data max##t##_data_##n = { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue