Skip to content

Commit

Permalink
Fix PPI channel number
Browse files Browse the repository at this point in the history
  • Loading branch information
pipe01 committed Jun 21, 2024
1 parent e50311b commit f47bec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peripherals/nrf52832/ppi.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ PPI_t *ppi_new(cpu_t **cpu)
// TODO: Implement RADIO READY -> CCM KSGEN
// TODO: Implement RADIO ADDRESS -> CCM CRYPT
SET_CHANNEL(26, INSTANCE_RADIO, RADIO_EVENTS_ADDRESS, INSTANCE_TIMER0, TIMER_TASKS_CAPTURE1)
SET_CHANNEL(27, INSTANCE_RADIO, RADIO_EVENTS_END, INSTANCE_TIMER0, TIMER_TASKS_CAPTURE1)
SET_CHANNEL(27, INSTANCE_RADIO, RADIO_EVENTS_END, INSTANCE_TIMER0, TIMER_TASKS_CAPTURE2)
SET_CHANNEL(28, INSTANCE_RTC0, RTC_EVENTS_COMPARE0, INSTANCE_RADIO, RADIO_TASKS_TXEN)
SET_CHANNEL(29, INSTANCE_RTC0, RTC_EVENTS_COMPARE0, INSTANCE_RADIO, RADIO_TASKS_RXEN)
SET_CHANNEL(30, INSTANCE_RTC0, RTC_EVENTS_COMPARE0, INSTANCE_TIMER0, TIMER_TASKS_CLEAR)
Expand Down

0 comments on commit f47bec5

Please sign in to comment.