From c645ae4feb0c49d0f59a04084110bec7dd4ce352 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Tue, 7 Jul 2020 16:46:40 +0200 Subject: [PATCH] Fix some doxygens warnings --- src/lib/core/CHIPCallback.h | 3 ++- src/setup_payload/SetupPayload.h | 14 ++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/lib/core/CHIPCallback.h b/src/lib/core/CHIPCallback.h index 2e2ce755cdab5b..66df469f2f04ec 100644 --- a/src/lib/core/CHIPCallback.h +++ b/src/lib/core/CHIPCallback.h @@ -85,6 +85,8 @@ class Cancelable ~Cancelable() { Cancel(); }; }; +typedef void (*CallFn)(void *); + /** * @class Callback * @@ -107,7 +109,6 @@ class Cancelable * parameter at Callback registration time. * */ -typedef void (*CallFn)(void *); template class Callback : private Cancelable { diff --git a/src/setup_payload/SetupPayload.h b/src/setup_payload/SetupPayload.h index bbad699e7b0b5d..19181be2797fcd 100644 --- a/src/setup_payload/SetupPayload.h +++ b/src/setup_payload/SetupPayload.h @@ -72,16 +72,14 @@ const int kTotalPayloadDataSizeInBytes = kTotalPayloadDataSizeInBits / 8; const char * const kQRCodePrefix = "CH:"; -/** - * The rendezvous type this device supports. - */ +/// The rendezvous type this device supports. enum class RendezvousInformationFlags : uint16_t { - kNone = 0, //< Device does not support any method for rendezvous - kWiFi = 1 << 0, //< Device supports Wi-Fi - kBLE = 1 << 1, //< Device supports BLE - kThread = 1 << 2, //< Device supports Thread - kEthernet = 1 << 3, //< Device MAY be attached to a wired 802.3 connection + kNone = 0, ///< Device does not support any method for rendezvous + kWiFi = 1 << 0, ///< Device supports Wi-Fi + kBLE = 1 << 1, ///< Device supports BLE + kThread = 1 << 2, ///< Device supports Thread + kEthernet = 1 << 3, ///< Device MAY be attached to a wired 802.3 connection kAllMask = kWiFi | kBLE | kThread | kEthernet, };