mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
HAL_ChibiOS: fixed warning on gcc9
packed structure can be misaligned
This commit is contained in:
parent
1000371d8a
commit
0ba256f625
@ -49,7 +49,7 @@ private:
|
||||
uint32_t dmamode;
|
||||
ICUConfig icucfg;
|
||||
ICUDriver* _icu_drv = nullptr;
|
||||
typedef struct PACKED {
|
||||
typedef struct {
|
||||
uint32_t w0;
|
||||
uint32_t w1;
|
||||
} pulse_t;
|
||||
|
Loading…
Reference in New Issue
Block a user