Skip to content

Commit

Permalink
fix compile warnings - HelioSpring, Strix, Mode2Flux packed alignment…
Browse files Browse the repository at this point in the history
… of 4 same as unint32
  • Loading branch information
nerdCopter committed Mar 4, 2024
1 parent 83dd269 commit 867d491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/drivers/accgyro/accgyro_imuf9001.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 867d491

Please sign in to comment.