mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
sys/pm_layered: align pm_blocker_t for speed
This commit is contained in:
parent
19943d2aa8
commit
21973963c0
@ -37,6 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include "periph_cpu.h"
|
||||
#include "architecture.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -55,7 +56,7 @@ extern "C" {
|
||||
*/
|
||||
typedef struct {
|
||||
uint8_t blockers[PM_NUM_MODES]; /**< number of blockers for the mode */
|
||||
} pm_blocker_t;
|
||||
} WORD_ALIGNED pm_blocker_t;
|
||||
|
||||
/**
|
||||
* @brief Block a power mode
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user