Skip to content

Commit

Permalink
cpu/kinetis/pm: enable low power modes by default
Browse files Browse the repository at this point in the history
  • Loading branch information
benemorius committed Jun 28, 2020
1 parent a6c6336 commit 1e2ce30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cpu/kinetis/include/periph_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ enum {
KINETIS_PM_STOP = 2,
KINETIS_PM_WAIT = 3,
};

/**
* @brief Override the default initial PM blocker to unblock all modes
*/
#ifndef PM_BLOCKER_INITIAL
#define PM_BLOCKER_INITIAL 0x00000000
#endif

#if MODULE_PM_LAYERED
#include "pm_layered.h"
/**
Expand Down

0 comments on commit 1e2ce30

Please sign in to comment.