Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some doxygens warnings #1483

Merged
merged 1 commit into from
Jul 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lib/core/CHIPCallback.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class Cancelable
~Cancelable() { Cancel(); };
};

typedef void (*CallFn)(void *);

/**
* @class Callback
*
Expand All @@ -107,7 +109,6 @@ class Cancelable
* parameter at Callback registration time.
*
*/
typedef void (*CallFn)(void *);
template <class T = CallFn>
class Callback : private Cancelable
{
Expand Down
14 changes: 6 additions & 8 deletions src/setup_payload/SetupPayload.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down