mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #11383 from aabadie/pr/cpu/stm32l0_pm_initial_blocker
cpu/stm32: centralize PM_BLOCKER_INITIAL define
This commit is contained in:
commit
0ea3c4f984
@ -61,12 +61,6 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
#define PM_NUM_MODES (2U)
|
#define PM_NUM_MODES (2U)
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Override the default initial PM blocker
|
|
||||||
* @todo we block all modes per default, until PM is cleanly implemented
|
|
||||||
*/
|
|
||||||
#define PM_BLOCKER_INITIAL { .val_u32 = 0x01010101 }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Define the config flag for stop mode
|
* @brief Define the config flag for stop mode
|
||||||
*/
|
*/
|
||||||
|
@ -70,12 +70,6 @@ typedef struct {
|
|||||||
uint8_t chan; /**< internal channel the pin is connected to */
|
uint8_t chan; /**< internal channel the pin is connected to */
|
||||||
} adc_conf_t;
|
} adc_conf_t;
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Override the default initial PM blocker
|
|
||||||
* @todo we block all modes per default, until PM is cleanly implemented
|
|
||||||
*/
|
|
||||||
#define PM_BLOCKER_INITIAL { .val_u32 = 0x01010101 }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name EEPROM configuration
|
* @name EEPROM configuration
|
||||||
* @{
|
* @{
|
||||||
|
Loading…
Reference in New Issue
Block a user