summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-29 09:56:26 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-29 09:56:26 +0100
commitcda988527f0e54be2e5756a0780a97bbee42c6ba (patch)
tree7b2b484680bcc45a9c1a19fb1ea5a0b42fda7fde /include/osmocom
parent6a5ef46dd018c8e66e341a531403e40de24893f2 (diff)
fix gsm_7bit_decode API comment: septets, not octets
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/gsm/gsm_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/gsm/gsm_utils.h b/include/osmocom/gsm/gsm_utils.h
index 64318662..6458447f 100644
--- a/include/osmocom/gsm/gsm_utils.h
+++ b/include/osmocom/gsm/gsm_utils.h
@@ -66,7 +66,8 @@ enum gsm_band gsm_band_parse(const char *mhz);
* Requires n >= 1.
* \param user_data A pointer to the start of the packed 7bit character
* sequence.
- * \param length The length of the input sequence (in octets).
+ * \param length The length of the input sequence in septets, for
+ * example pass octet_length*8/7.
*
* \returns the number of (8 bit) chars written excluding the terminating \0.
* This is the same like strlen(decoded).