From ae9273d3af8ef7af4ad653b8eb6d92e6c21f6d6a Mon Sep 17 00:00:00 2001 From: Wojciech Pietraszewski Date: Wed, 7 Feb 2024 15:02:46 +0100 Subject: [PATCH] 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 3e1ded4cdd..1514a2ba5c 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 - /** * @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 + #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_*/