aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-11-15 22:44:58 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-11-16 00:34:11 +0100
commita3c896f250224c72e291a9a9b1f232bdcf388b5d (patch)
treeefa6cf192fb1b50c8544062a0cb27637b61e7f74
parenta555a1fca28f6ba1c5c877bb3d94f2b77396ed64 (diff)
struct amr_header: copy comments to little endian part
I will soon apply struct_endianess.py to this code, and then the comments that are now only in the big endian part would be lost. Copy them to preserve them. Change-Id: Ie4279928bd77a5d425d0e7a3c4d58bac3cf0230a
-rw-r--r--include/osmocom/netif/amr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/netif/amr.h b/include/osmocom/netif/amr.h
index b0ab8a3..f32f044 100644
--- a/include/osmocom/netif/amr.h
+++ b/include/osmocom/netif/amr.h
@@ -58,9 +58,9 @@ struct amr_hdr {
cmr:4;
/* Table of Contents */
uint8_t pad2:2,
- q:1,
- ft:4,
- f:1;
+ q:1, /* OK (not damaged) at origin? */
+ ft:4, /* coding mode */
+ f:1; /* followed by another speech frame? */
#endif
} __attribute__((packed));