1
0
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:
Karl Fessel 2022-11-04 16:50:52 +01:00
parent 19943d2aa8
commit 21973963c0

View File

@ -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