[riot-commits] [RIOT-OS/RIOT] 445176: cpu/lpc2387: fix check for max number of timers

Marian Buschsieweke noreply at github.com
Sun Apr 5 21:16:52 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 44517659529cbc965457b86968bb3dba5b676eb4
      https://github.com/RIOT-OS/RIOT/commit/44517659529cbc965457b86968bb3dba5b676eb4
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2020-04-05 (Sun, 05 Apr 2020)

  Changed paths:
    M cpu/lpc2387/periph/timer.c

  Log Message:
  -----------
  cpu/lpc2387: fix check for max number of timers

The CPU has 4 hardware timers.
Configuration for all 4 timers exists, but the compile-time range
check has an off-by-one error, causing the last timer to remain
inaccessible.


  Commit: 34e386149872f2d67715a1e790612b68e22f92e4
      https://github.com/RIOT-OS/RIOT/commit/34e386149872f2d67715a1e790612b68e22f92e4
  Author: Marian Buschsieweke <maribu at users.noreply.github.com>
  Date:   2020-04-05 (Sun, 05 Apr 2020)

  Changed paths:
    M cpu/lpc2387/periph/timer.c

  Log Message:
  -----------
  Merge pull request #13817 from benpicco/cpu/lpc2387-timer_num

cpu/lpc2387: fix check for max number of timers


Compare: https://github.com/RIOT-OS/RIOT/compare/abd399b9343e...34e386149872


More information about the commits mailing list