tnt has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/36174?usp=email )
Change subject: icE1usb fw: fix usb cdc notification struct attributes
......................................................................
icE1usb fw: fix usb cdc notification struct attributes
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
Change-Id: I7323c335c7cefe30446fb560b9381a3519b65f12
---
M firmware/ice40-riscv/icE1usb/usb_gps.c
1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/74/36174/1
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
--
To view, visit
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/36174?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I7323c335c7cefe30446fb560b9381a3519b65f12
Gerrit-Change-Number: 36174
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-MessageType: newchange