From cda988527f0e54be2e5756a0780a97bbee42c6ba Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 29 Feb 2016 09:56:26 +0100 Subject: fix gsm_7bit_decode API comment: septets, not octets --- include/osmocom/gsm/gsm_utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/osmocom') 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). -- cgit v1.2.3