1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/samx21: allow to override #ifndef PM_BLOCKER_INITIAL

This commit is contained in:
Alexandre Abadie 2022-03-11 10:48:12 +01:00
parent 08c2cf6b27
commit ee175fb583
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 4 additions and 0 deletions

View File

@ -39,7 +39,9 @@ extern "C" {
* @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 SAMD21 sleep modes for PM

View File

@ -37,7 +37,9 @@ extern "C" {
* @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