From 0fa72ae9d87254602d73e8ac3f21c309508be8b3 Mon Sep 17 00:00:00 2001 From: Harsha Rajendran Date: Tue, 4 Jan 2022 14:36:54 -0500 Subject: [PATCH] Fix Doxygen errors (#13255) --- src/include/platform/NetworkCommissioning.h | 1 + src/lib/support/TypeTraits.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/include/platform/NetworkCommissioning.h b/src/include/platform/NetworkCommissioning.h index 9095ae3d6714df..713c2935838f50 100644 --- a/src/include/platform/NetworkCommissioning.h +++ b/src/include/platform/NetworkCommissioning.h @@ -251,6 +251,7 @@ class WiFiDriver : public Internal::WirelessDriver * be called inside ScanNetworks. * * @param ssid The interested SSID, the scanning MAY be restricted to to the given SSID. + * @param callback Callback that will be invoked upon finishing the scan */ virtual void ScanNetworks(ByteSpan ssid, ScanCallback * callback) = 0; diff --git a/src/lib/support/TypeTraits.h b/src/lib/support/TypeTraits.h index 4a0e01b6e968b7..e8718a223e4294 100644 --- a/src/lib/support/TypeTraits.h +++ b/src/lib/support/TypeTraits.h @@ -41,6 +41,7 @@ constexpr std::underlying_type_t to_underlying(T e) /** * @brief This template is not designed to be used directly. A common pattern to check the presence of a member of a class is: * + * \cond * template * class IsMagic * { @@ -54,6 +55,7 @@ constexpr std::underlying_type_t to_underlying(T e) * public: * static constexpr bool value = decltype(TestHasMagic>(0))::value; * }; + * \endcond * * The compiler will try to match TestHasMagicFunction(int) first, if MagicFunction is a member function of T, the match succeed * and HasMagicFunction is an alias of std::true_type. If MagicFunction is not a member function of T, the match of