AP_IOMCU: ensure page_GPIO is aligned to 16bit

This commit is contained in:
bugobliterator 2021-09-29 13:50:47 +05:30 committed by Andrew Tridgell
parent 88b55aceb3
commit 1a6179148b

View File

@ -162,7 +162,7 @@ struct page_mixing {
uint8_t pad; // pad to even size uint8_t pad; // pad to even size
}; };
struct page_GPIO { struct __attribute__((packed, aligned(2))) page_GPIO {
uint8_t channel_mask; uint8_t channel_mask;
uint8_t output_mask; uint8_t output_mask;
}; };