[riot-commits] [RIOT-OS/RIOT] c21b5d: cpu/lpc2387: PM_NUM_MODES must only count non-idle...

Marian Buschsieweke noreply at github.com
Sun Apr 26 21:46:53 CEST 2020


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

  Changed paths:
    M cpu/lpc2387/include/periph_cpu.h

  Log Message:
  -----------
  cpu/lpc2387: PM_NUM_MODES must only count non-idle modes

lpc23xx has 3 sleep modes and one idle mode.
`PM_NUM_MODES` must only count the idle modes.

In practise, this makes no difference since `mode 3` (IDLE) is
the `default` case in `pm_set()` anyway.


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

  Changed paths:
    M cpu/lpc2387/include/periph_cpu.h

  Log Message:
  -----------
  Merge pull request #13955 from benpicco/cpu/lpc2387-pm_num_modes

cpu/lpc2387: PM_NUM_MODES must only count non-idle modes


Compare: https://github.com/RIOT-OS/RIOT/compare/bbe1e723df06...70a558059e1b


More information about the commits mailing list