aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-04-07 03:20:55 +0700
committerHarald Welte <laforge@gnumonks.org>2019-04-11 00:24:55 +0000
commited8e26309640f1ef9d9b17453e62e17f535b5029 (patch)
tree756b23601c3bbafc242efd7bd1ed58c8a930edfa /src/gsm
parent3d81147dea330a93b427c8aaf461947ee470f600 (diff)
gsm_utils.c: fix Doxygen description for gsm_get_octet_len()
Diffstat (limited to 'src/gsm')
-rw-r--r--src/gsm/gsm_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gsm/gsm_utils.c b/src/gsm/gsm_utils.c
index 1450ed0b..94c6ca5d 100644
--- a/src/gsm/gsm_utils.c
+++ b/src/gsm/gsm_utils.c
@@ -185,10 +185,10 @@ static int gsm_septet_lookup(uint8_t ch)
return -1;
}
-/*! \brife Compute number of octets from number of septets,
- * for instance: 47 septets needs 41,125 = 42 octets
- * \param[in sept_len Number of Septets
- * \returns Number of octets required */
+/*! Compute number of octets from number of septets.
+ * For instance: 47 septets need 41,125 = 42 octets.
+ * \param[in] sept_len Number of septets
+ * \returns Number of octets required */
uint8_t gsm_get_octet_len(const uint8_t sept_len){
int octet_len = (sept_len * 7) / 8;
if ((sept_len * 7) % 8 != 0)