osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/31400 )


Change subject: Run struct_endianness.py
......................................................................

Run struct_endianness.py

Ensure there is no diff to prepare to run this in CI.

Related: OS#5884
Change-Id: I7d571a042009a3d1befb71fdd490fdef39368066
---
M Transceiver52M/proto_trxd.h
1 file changed, 16 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/00/31400/1

diff --git a/Transceiver52M/proto_trxd.h b/Transceiver52M/proto_trxd.h
index d72cfdd..c250a74 100644
--- a/Transceiver52M/proto_trxd.h
+++ b/Transceiver52M/proto_trxd.h
@@ -48,9 +48,8 @@
                reserved:1,
                version:4;
 #elif OSMO_IS_BIG_ENDIAN
-       uint8_t version:4,
-               reserved:1,
-               tn:3;
+/* auto-generated from the little endian part above 
(libosmocore/contrib/struct_endianness.py) */
+       uint8_t version:4, reserved:1, tn:3;
 #endif
        uint32_t fn; /* big endian */
 } __attribute__ ((packed));
@@ -86,9 +85,8 @@
                modulation:4,
                idle:1;
 #elif OSMO_IS_BIG_ENDIAN
-       uint8_t idle:1,
-               modulation:4,
-               tsc:3;
+/* auto-generated from the little endian part above 
(libosmocore/contrib/struct_endianness.py) */
+       uint8_t idle:1, modulation:4, tsc:3;
 #endif
        int16_t ci;  /* big endian, in centiBels */
 } __attribute__ ((packed));

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/31400
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I7d571a042009a3d1befb71fdd490fdef39368066
Gerrit-Change-Number: 31400
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to