Skip to content

Commit

Permalink
Update app/src/ext_power_generic.c
Browse files Browse the repository at this point in the history
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
  • Loading branch information
Nicell and petejohanson authored Feb 16, 2021
1 parent 33b3354 commit 1a862d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/ext_power_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static const struct ext_power_generic_config config = {
.label = DT_INST_GPIO_LABEL(0, control_gpios),
.pin = DT_INST_GPIO_PIN(0, control_gpios),
.flags = DT_INST_GPIO_FLAGS(0, control_gpios),
COND_CODE_0(DT_INST_NODE_HAS_PROP(0, init_delay_ms), (0), (DT_INST_PROP(0, init_delay_ms)))};
.init_delay_ms = DT_INST_PROP_OR(0, init_delay_ms, 0)};

static struct ext_power_generic_data data = {
.status = false,
Expand Down

0 comments on commit 1a862d7

Please sign in to comment.