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

Merge pull request #17793 from aabadie/pr/cpu/samx21_pm_blocker_override

cpu/samx21: allow to override #ifndef PM_BLOCKER_INITIAL
This commit is contained in:
Francisco 2022-03-11 15:13:47 +01:00 committed by GitHub
commit ea44b2ead7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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