<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-netif/+/16758">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">struct amr_header: copy comments to little endian part<br><br>I will soon apply struct_endianess.py to this code, and then the comments that<br>are now only in the big endian part would be lost. Copy them to preserve them.<br><br>Change-Id: Ie4279928bd77a5d425d0e7a3c4d58bac3cf0230a<br>---<br>M include/osmocom/netif/amr.h<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/58/16758/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/netif/amr.h b/include/osmocom/netif/amr.h</span><br><span>index 46ec86a..729d0ae 100644</span><br><span>--- a/include/osmocom/netif/amr.h</span><br><span>+++ b/include/osmocom/netif/amr.h</span><br><span>@@ -55,12 +55,12 @@</span><br><span> #elif OSMO_IS_LITTLE_ENDIAN</span><br><span>       /* Payload Header */</span><br><span>         uint8_t pad1:4,</span><br><span style="color: hsl(0, 100%, 40%);">-         cmr:4;</span><br><span style="color: hsl(120, 100%, 40%);">+                cmr:4;  /* Codec Mode Request */</span><br><span>     /* Table of Contents */</span><br><span>      uint8_t pad2:2,</span><br><span style="color: hsl(0, 100%, 40%);">-         q:1,</span><br><span style="color: hsl(0, 100%, 40%);">-            ft:4,</span><br><span style="color: hsl(0, 100%, 40%);">-           f:1;</span><br><span style="color: hsl(120, 100%, 40%);">+          q:1,    /* OK (not damaged) at origin? */</span><br><span style="color: hsl(120, 100%, 40%);">+             ft:4,   /* coding mode */</span><br><span style="color: hsl(120, 100%, 40%);">+             f:1;    /* followed by another speech frame? */</span><br><span> #endif</span><br><span> } __attribute__((packed));</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-netif/+/16758">change 16758</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmo-netif/+/16758"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-netif </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie4279928bd77a5d425d0e7a3c4d58bac3cf0230a </div>
<div style="display:none"> Gerrit-Change-Number: 16758 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>