1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/nrf52/include
Marian Buschsieweke 51b6379dee
boards/common/nrf52: fix timer config
The `channels` member should not be set to the number of hardware
channels *n*, but to *n* - 1 instead. The last channel is implicitly
used in `timer_read()`. Hence out of *n* hardware channels, only *n* - 1
are available to the application.

This fixes a bug introduced by 4d02e15247
which incorrectly set the channel number to *n* rather than to
*n* - 1.
2022-11-22 13:20:53 +01:00
..
board_common.h
cfg_clock_32_0.h
cfg_clock_32_1.h
cfg_i2c_default.h
cfg_rtt_default.h
cfg_spi_default.h
cfg_timer_default.h boards/common/nrf52: fix timer config 2022-11-22 13:20:53 +01:00