From 4c5c0a87c93cc8af325635f5356241d7822885d8 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 3 Jul 2015 00:25:00 +0200 Subject: [PATCH] ng_sixlowpan: clarify documentation --- sys/include/net/ng_sixlowpan.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/include/net/ng_sixlowpan.h b/sys/include/net/ng_sixlowpan.h index af8ca63637..65c1de7d64 100644 --- a/sys/include/net/ng_sixlowpan.h +++ b/sys/include/net/ng_sixlowpan.h @@ -73,8 +73,13 @@ static inline bool ng_sixlowpan_nalp(uint8_t disp) /** * @brief Initialization of the 6LoWPAN thread. * + * @details If 6LoWPAN was already initialized, it will just return the PID of + * the 6LoWPAN thread. + * * @return The PID to the 6LoWPAN thread, on success. - * @return -EOVERFLOW, if there are too many threads running already + * @return -EINVAL, if @ref NG_SIXLOWPAN_PRIO was greater than or equal to + * @ref SCHED_PRIO_LEVELS + * @return -EOVERFLOW, if there are too many threads running already in general */ kernel_pid_t ng_sixlowpan_init(void);