Skip to content

Commit f46a60d

Browse files
nika-nordicmasz-nordic
authored andcommitted
samples: bluetooth: time_sync: fix gpiote reference
GPIOTE instance shall be accessed via pointer. Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent a9f41b8 commit f46a60d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/bluetooth/conn_time_sync/src/timed_led_toggle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int timed_led_toggle_init(void)
6161
}
6262

6363
err = nrfx_gppi_conn_alloc(controller_time_trigger_event_addr_get(),
64-
nrfx_gpiote_out_task_address_get(&gpiote, LED_PIN),
64+
nrfx_gpiote_out_task_address_get(gpiote, LED_PIN),
6565
&ppi_led_toggle);
6666
if (err < 0) {
6767
printk("Failed allocating PPI chan for toggling led\n");

samples/bluetooth/iso_time_sync/src/timed_led_toggle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int timed_led_toggle_init(void)
6161
}
6262

6363
err = nrfx_gppi_conn_alloc(controller_time_trigger_event_addr_get(),
64-
nrfx_gpiote_out_task_address_get(&gpiote, LED_PIN),
64+
nrfx_gpiote_out_task_address_get(gpiote, LED_PIN),
6565
&ppi_led_toggle);
6666
if (err < 0) {
6767
printk("Failed allocating PPI chan for toggling led\n");

0 commit comments

Comments
 (0)