samples: boards: nrf: nrfx: Align nrfx_gpiote API
nrfx 3.0.0 introduces renamed API for GPIOTE nrfx driver Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
This commit is contained in:
parent
e3b3d0eea4
commit
402b95ddae
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ int main(void)
|
||||||
* the button is pressed, the LED pin will be toggled.
|
* the button is pressed, the LED pin will be toggled.
|
||||||
*/
|
*/
|
||||||
nrfx_gppi_channel_endpoints_setup(ppi_channel,
|
nrfx_gppi_channel_endpoints_setup(ppi_channel,
|
||||||
nrfx_gpiote_in_event_addr_get(INPUT_PIN),
|
nrfx_gpiote_in_event_address_get(INPUT_PIN),
|
||||||
nrfx_gpiote_out_task_addr_get(OUTPUT_PIN));
|
nrfx_gpiote_out_task_address_get(OUTPUT_PIN));
|
||||||
|
|
||||||
/* Enable the channel. */
|
/* Enable the channel. */
|
||||||
nrfx_gppi_channels_enable(BIT(ppi_channel));
|
nrfx_gppi_channels_enable(BIT(ppi_channel));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue