mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
51b6379dee
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
|
||
---|---|---|
.. | ||
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 |