We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e325c commit 9f5de86Copy full SHA for 9f5de86
drivers/display/display_st7735r.c
@@ -541,13 +541,13 @@ static const struct display_driver_api st7735r_api = {
541
.cmd_data.pin = DT_INST_GPIO_PIN(inst, cmd_data_gpios), \
542
.cmd_data.flags = DT_INST_GPIO_FLAGS(inst, cmd_data_gpios), \
543
.reset.name = UTIL_AND( \
544
- DT_INST_HAS_PROP(inst, reset_gpios), \
+ DT_INST_NODE_HAS_PROP(inst, reset_gpios), \
545
DT_INST_GPIO_LABEL(inst, reset_gpios)), \
546
.reset.pin = UTIL_AND( \
547
548
DT_INST_GPIO_PIN(inst, reset_gpios)), \
549
.reset.flags = UTIL_AND( \
550
551
DT_INST_GPIO_FLAGS(inst, reset_gpios)), \
552
.width = DT_INST_PROP(inst, width), \
553
.height = DT_INST_PROP(inst, height), \
0 commit comments