mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +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 <stdint.h>
|
||||||
#include "periph_cpu.h"
|
#include "periph_cpu.h"
|
||||||
|
#include "architecture.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -55,7 +56,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t blockers[PM_NUM_MODES]; /**< number of blockers for the mode */
|
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
|
* @brief Block a power mode
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user