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 b4aea5a commit eecaf6dCopy full SHA for eecaf6d
samples/boards/nrf/nrfx_prs/src/main.c
@@ -63,13 +63,13 @@ static bool init_buttons(void)
63
} btn_spec[] = {
64
{
65
GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios),
66
- DT_PROP(DT_ALIAS(sw0), label),
+ DT_LABEL(DT_ALIAS(sw0)),
67
"trigger a transfer",
68
sw0_handler
69
},
70
71
GPIO_DT_SPEC_GET(DT_ALIAS(sw1), gpios),
72
- DT_PROP(DT_ALIAS(sw1), label),
+ DT_LABEL(DT_ALIAS(sw1)),
73
"switch the type of peripheral",
74
sw1_handler
75
0 commit comments