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 fe516b9 commit 6d8fe6eCopy full SHA for 6d8fe6e
drivers/gpio/gpio_esp32.c
@@ -335,7 +335,7 @@ static struct gpio_esp32_data gpio_1_data = { /* 32..39 */
335
static struct gpio_driver_config gpio_##_id##_cfg = { \
336
.port_pin_mask = GPIO_PORT_PIN_MASK_FROM_DT_INST(_id), \
337
}; \
338
- DEVICE_DT_INST_DEFINE(id, \
+ DEVICE_DT_INST_DEFINE(_id, \
339
gpio_esp32_init, \
340
device_pm_control_nop, \
341
&gpio_##_id##_data, &gpio_##_id##_cfg, \
0 commit comments