From a8ae3b482a17c98de2ce0e23dab86e4db5737a82 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 28 Feb 2018 14:52:43 +0100 Subject: [PATCH 1/2] pkg/openthread: fix doxygen documentation --- pkg/openthread/include/ot.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/openthread/include/ot.h b/pkg/openthread/include/ot.h index 334ca5ae46..9535338526 100644 --- a/pkg/openthread/include/ot.h +++ b/pkg/openthread/include/ot.h @@ -61,6 +61,7 @@ typedef struct { * @brief Gets packet from driver and tells OpenThread about the reception. * * @param[in] aInstance pointer to an OpenThread instance + * @param[in] dev pointer to a netdev instance */ void recv_pkt(otInstance *aInstance, netdev_t *dev); @@ -83,7 +84,7 @@ void openthread_bootstrap(void); * * @param[in] dev pointer to a netdev interface * @param[in] tb pointer to the TX buffer designed for OpenThread - * @param[in] event pointer to the RX buffer designed for Open_Thread + * @param[in] rb pointer to the RX buffer designed for Open_Thread */ void openthread_radio_init(netdev_t *dev, uint8_t *tb, uint8_t *rb); @@ -114,7 +115,7 @@ kernel_pid_t openthread_get_pid(void); */ void ot_random_init(void); -/* +/** * @brief Run OpenThread UART simulator (stdio) */ void openthread_uart_run(void); From e5bce7af821aec8a895944272ccf3427a0f6b193 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 28 Feb 2018 14:53:13 +0100 Subject: [PATCH 2/2] doc/doxygen: enable doc on openthread package --- doc/doxygen/riot.doxyfile | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/doxygen/riot.doxyfile b/doc/doxygen/riot.doxyfile index aa4fdfda83..b72dc133a6 100644 --- a/doc/doxygen/riot.doxyfile +++ b/doc/doxygen/riot.doxyfile @@ -829,7 +829,6 @@ EXCLUDE_PATTERNS = */board/*/tools/* \ */drivers/kw2xrf/include/overwrites.h \ */pkg/emb6/* \ */pkg/lwip/* \ - */pkg/openthread/* \ */pkg/tlsf/patch.txt \ */sys/include/embUnit/* \ */sys/random/tinymt32/* \