From 0fd9f74513f14414582b8f8d08a293279583add3 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:53:26 -0500 Subject: [PATCH] aligned(4) imufCommand_t --- src/board_comm/board_comm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board_comm/board_comm.h b/src/board_comm/board_comm.h index d1278979..366f8afd 100644 --- a/src/board_comm/board_comm.h +++ b/src/board_comm/board_comm.h @@ -52,7 +52,7 @@ typedef struct imufCommand { uint32_t param10; uint32_t crc; uint32_t syncWord; //overflow, used for sync -} __attribute__ ((packed)) imufCommand_t; +} __attribute__ ((packed, aligned(4))) imufCommand_t; //todo: this should only live here extern SPI_InitTypeDef boardCommSpiInitStruct;