summaryrefslogtreecommitdiff
path: root/app/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'app/drivers')
-rw-r--r--app/drivers/zephyr/battery_voltage_divider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/drivers/zephyr/battery_voltage_divider.c b/app/drivers/zephyr/battery_voltage_divider.c
index b94e2a2..d634dfd 100644
--- a/app/drivers/zephyr/battery_voltage_divider.c
+++ b/app/drivers/zephyr/battery_voltage_divider.c
@@ -205,8 +205,8 @@ static const struct bvd_config bvd_cfg = {
.power_gpios =
{
DT_INST_GPIO_LABEL(0, power_gpios),
- DT_INST_PIN(0, power_gpios),
- DT_INST_FLAGS(0, power_gpios),
+ DT_INST_GPIO_PIN(0, power_gpios),
+ DT_INST_GPIO_FLAGS(0, power_gpios),
},
#endif
.output_ohm = DT_INST_PROP(0, output_ohms),