This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new ae9273d3a host/hs_log: Amend doxygen comments in the header file
ae9273d3a is described below
commit ae9273d3af8ef7af4ad653b8eb6d92e6c21f6d6a
Author: Wojciech Pietraszewski <[email protected]>
AuthorDate: Wed Feb 7 15:02:46 2024 +0100
host/hs_log: Amend doxygen comments in the header file
Adds missing macro documentation (BLE_NPL_LOG_MODULE).
Adds minor formatting improvements.
---
nimble/host/include/host/ble_hs_log.h | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/nimble/host/include/host/ble_hs_log.h
b/nimble/host/include/host/ble_hs_log.h
index 3e1ded4cd..1514a2ba5 100644
--- a/nimble/host/include/host/ble_hs_log.h
+++ b/nimble/host/include/host/ble_hs_log.h
@@ -20,12 +20,6 @@
#ifndef H_BLE_HS_LOG_
#define H_BLE_HS_LOG_
-#ifndef BLE_NPL_LOG_MODULE
-#define BLE_NPL_LOG_MODULE BLE_HS_LOG
-#endif
-
-#include <nimble/nimble_npl_log.h>
-
/**
* @file ble_hs_log.h
*
@@ -39,6 +33,13 @@
* @{
*/
+#ifndef BLE_NPL_LOG_MODULE
+/** Defines the logging module for NimBLE Porting Layer (NPL). */
+#define BLE_NPL_LOG_MODULE BLE_HS_LOG
+#endif
+
+#include <nimble/nimble_npl_log.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -103,4 +104,4 @@ void ble_hs_log_flat_buf(const void *data, int len);
* @}
*/
-#endif
+#endif /* H_BLE_HS_LOG_*/