mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
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.
This commit is contained in:
parent
bcf4cc8083
commit
c21b5d6f55
@ -36,7 +36,7 @@ extern "C" {
|
||||
* @name Power mode configuration
|
||||
* @{
|
||||
*/
|
||||
#define PM_NUM_MODES (4)
|
||||
#define PM_NUM_MODES (3)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user