aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-11 02:13:57 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-11 02:14:20 +0100
commit48b2de097216d5fb86d3e03fbccc39a7a83e8228 (patch)
tree4c8f158333d98b194d6a8129477d0137ef6afeb7
parent6adffb957349bc1ca75e49a20cbd05f06e62d668 (diff)
fix api doc for osmo_bcd2str()
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 4b4e6d25..35d70ace 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -136,7 +136,7 @@ uint8_t osmo_char2bcd(char c)
* \param[in] dst_size sizeof() the output string buffer.
* \param[in] bcd Binary coded data buffer.
* \param[in] start_nibble Offset to start from, in nibbles, typically 1 to skip the first nibble.
- * \param[in] end_nibble Offset to stop before, in nibbles, e.g. sizeof(bcd) - (bcd[0] & GSM_MI_ODD? 0:1).
+ * \param[in] end_nibble Offset to stop before, in nibbles, e.g. sizeof(bcd)*2 - (bcd[0] & GSM_MI_ODD? 0:1).
* \param[in] allow_hex If false, return error if there are digits other than 0-9. If true, return those as [A-F].
* \returns The strlen that would be written if the output buffer is large enough, excluding nul byte (like
* snprintf()), or -EINVAL if allow_hex is false and a digit > 9 is encountered. On -EINVAL, the conversion is