diff --git a/src/main/drivers/accgyro/accgyro_imuf9001.h b/src/main/drivers/accgyro/accgyro_imuf9001.h index aed9cd1d18..6183c49d79 100644 --- a/src/main/drivers/accgyro/accgyro_imuf9001.h +++ b/src/main/drivers/accgyro/accgyro_imuf9001.h @@ -56,7 +56,7 @@ typedef struct imufCommand { uint32_t param10; uint32_t crc; uint32_t tail; -} __attribute__ ((__packed__)) imufCommand_t; +} __attribute__ ((__packed__, aligned(4))) imufCommand_t; typedef struct imufData { float gyroX;