commit | 71a9bcfd6404216acd78198b9ac253c53be0a27f | [log] [tgz] |
---|---|---|
author | Sylvain Munaut <tnt@246tNt.com> | Wed Mar 06 11:16:34 2024 +0100 |
committer | Sylvain Munaut <tnt@246tNt.com> | Wed Mar 06 11:16:34 2024 +0100 |
tree | 1cee483c71331774ddf3100c487acdb52cd3ffe1 | |
parent | f1e228d334e1dcc9f9eb67f96260dd49d27790a0 [diff] |
icE1usb fw: fix usb cdc notification struct attributes Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Change-Id: I7323c335c7cefe30446fb560b9381a3519b65f12
diff --git a/firmware/ice40-riscv/icE1usb/usb_gps.c b/firmware/ice40-riscv/icE1usb/usb_gps.c index 7ca89fd..f2b09b4 100644 --- a/firmware/ice40-riscv/icE1usb/usb_gps.c +++ b/firmware/ice40-riscv/icE1usb/usb_gps.c
@@ -49,7 +49,7 @@ struct usb_cdc_notif_serial_state { struct usb_ctrl_req hdr; uint16_t bits; -}; +} __attribute__((packed,aligned(4))); static void