mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 12:14:10 -04:00
AP_IOMCU: ensure page_GPIO is aligned to 16bit
This commit is contained in:
parent
88b55aceb3
commit
1a6179148b
@ -162,7 +162,7 @@ struct page_mixing {
|
||||
uint8_t pad; // pad to even size
|
||||
};
|
||||
|
||||
struct page_GPIO {
|
||||
struct __attribute__((packed, aligned(2))) page_GPIO {
|
||||
uint8_t channel_mask;
|
||||
uint8_t output_mask;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user