mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/samd*: adjust PM_BLOCKER_INITIAL to the new API
For saml1x and samd5x this becomes now obsolete as the default provides this behavior.
This commit is contained in:
parent
0340ac6129
commit
11acdd0526
@ -37,10 +37,10 @@ extern "C" {
|
||||
|
||||
/**
|
||||
* @brief Override the default initial PM blocker
|
||||
* @todo Idle modes are enabled by default, deep sleep mode blocked
|
||||
* Idle modes are enabled by default, deep sleep mode blocked
|
||||
*/
|
||||
#ifndef PM_BLOCKER_INITIAL
|
||||
#define PM_BLOCKER_INITIAL 0x00000001
|
||||
#define PM_BLOCKER_INITIAL { 1, 0, 0, 0 }
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -53,11 +53,7 @@ extern "C" {
|
||||
* @name Power mode configuration
|
||||
* @{
|
||||
*/
|
||||
#define PM_NUM_MODES 4 /**< Backup, Hibernate, Standby, Idle */
|
||||
|
||||
#ifndef PM_BLOCKER_INITIAL
|
||||
#define PM_BLOCKER_INITIAL 0x00010101 /**< Block all modes but Idle */
|
||||
#endif
|
||||
#define PM_NUM_MODES (4) /**< Backup, Hibernate, Standby, Idle */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -33,14 +33,6 @@ extern "C" {
|
||||
#define PM_NUM_MODES (2)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Override the default initial PM blocker
|
||||
* @todo Idle modes are enabled by default, deep sleep mode blocked
|
||||
*/
|
||||
#ifndef PM_BLOCKER_INITIAL
|
||||
#define PM_BLOCKER_INITIAL 0x00000001
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name SAML1x GCLK definitions
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user