<p>Neels Hofmeyr <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/12235">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Neels Hofmeyr: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix api doc for osmo_bcd2str()<br><br>Change-Id: I504ea849fc9daeb34a1b3c5343371161deba743e<br>---<br>M src/utils.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/utils.c b/src/utils.c</span><br><span>index 4b4e6d2..35d70ac 100644</span><br><span>--- a/src/utils.c</span><br><span>+++ b/src/utils.c</span><br><span>@@ -136,7 +136,7 @@</span><br><span>  *  \param[in] dst_size  sizeof() the output string buffer.</span><br><span>  *  \param[in] bcd  Binary coded data buffer.</span><br><span>  *  \param[in] start_nibble  Offset to start from, in nibbles, typically 1 to skip the first nibble.</span><br><span style="color: hsl(0, 100%, 40%);">- *  \param[in] end_nibble  Offset to stop before, in nibbles, e.g. sizeof(bcd) - (bcd[0] & GSM_MI_ODD? 0:1).</span><br><span style="color: hsl(120, 100%, 40%);">+ *  \param[in] end_nibble  Offset to stop before, in nibbles, e.g. sizeof(bcd)*2 - (bcd[0] & GSM_MI_ODD? 0:1).</span><br><span>  *  \param[in] allow_hex  If false, return error if there are digits other than 0-9. If true, return those as [A-F].</span><br><span>  *  \returns The strlen that would be written if the output buffer is large enough, excluding nul byte (like</span><br><span>  *           snprintf()), or -EINVAL if allow_hex is false and a digit > 9 is encountered. On -EINVAL, the conversion is</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12235">change 12235</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/12235"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I504ea849fc9daeb34a1b3c5343371161deba743e </div>
<div style="display:none"> Gerrit-Change-Number: 12235 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>