From cfa9d151daa39c217e6d36cdcd2764bf8fa8bff5 Mon Sep 17 00:00:00 2001 From: Pavel Vasilyev Date: Thu, 7 Sep 2023 10:35:54 +0200 Subject: [PATCH] Bluetooth: Mesh: Compile bt_mesh_model fields with Doxygen This will enable rendering these fields in the documentation. Signed-off-by: Pavel Vasilyev --- include/zephyr/bluetooth/mesh/access.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/zephyr/bluetooth/mesh/access.h b/include/zephyr/bluetooth/mesh/access.h index 5b1653c2487..2db8a55e986 100644 --- a/include/zephyr/bluetooth/mesh/access.h +++ b/include/zephyr/bluetooth/mesh/access.h @@ -893,7 +893,7 @@ struct bt_mesh_model { uint16_t * const groups; const uint16_t groups_cnt; -#if CONFIG_BT_MESH_LABEL_COUNT > 0 +#if (CONFIG_BT_MESH_LABEL_COUNT > 0) || defined(__DOXYGEN__) /** List of Label UUIDs the model is subscribed to. */ const uint8_t ** const uuids; #endif @@ -909,7 +909,7 @@ struct bt_mesh_model { struct bt_mesh_model *next; #endif -#ifdef CONFIG_BT_MESH_LARGE_COMP_DATA_SRV +#if defined(CONFIG_BT_MESH_LARGE_COMP_DATA_SRV) || defined(__DOXYGEN__) /* Pointer to the array of model metadata entries. */ struct bt_mesh_models_metadata_entry **metadata; #endif