<p><a href="https://gerrit.osmocom.org/9301">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9301/1/src/pcu_l1_if.cpp">File src/pcu_l1_if.cpp:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9301/1/src/pcu_l1_if.cpp@220">Patch Set #1, Line 220:</a> <code style="font-family:monospace,monospace">   uint8_t data[23+3+1]; /* prefix PLEN */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">It would be nice to have some defines instead of using all this raw values. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Indeed, this code could use a lot of macros.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I want to just fix the crash for now. Converting magic numbers to macros in osmo-pcu can be done in a separate step and it looks like it would be a huge long-term task anyway if done correctly and consistently.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/9301">change 9301</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/9301"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I08a879d72fcb916f78f175612fd90467d7bdd57c </div>
<div style="display:none"> Gerrit-Change-Number: 9301 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 25 May 2018 13:00:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>