From a3c896f250224c72e291a9a9b1f232bdcf388b5d Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 15 Nov 2018 22:44:58 +0100 Subject: 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 --- include/osmocom/netif/amr.h | 6 +++--- 1 file 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)); -- cgit v1.2.3