From 9c701964a7e97cf52b143a2d23540469f29c32c4 Mon Sep 17 00:00:00 2001 From: Junior Martinez Date: Fri, 10 Jun 2022 22:43:45 -0400 Subject: [PATCH] replace 0 by false --- .../OpenThread/GenericThreadStackManagerImpl_OpenThread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.h b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.h index 943b5226f731f3..d225ed7e981368 100644 --- a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.h +++ b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.h @@ -151,7 +151,7 @@ class GenericThreadStackManagerImpl_OpenThread otInstance * mOTInst; uint64_t mOverrunCount = 0; - bool mIsAttached = 0; + bool mIsAttached = false; NetworkCommissioning::ThreadDriver::ScanCallback * mpScanCallback; NetworkCommissioning::Internal::WirelessDriver::ConnectCallback * mpConnectCallback; @@ -219,7 +219,7 @@ class GenericThreadStackManagerImpl_OpenThread static constexpr size_t kTotalDnsServiceTxtValueSize = std::max(Dnssd::CommissionAdvertisingParameters::kTxtTotalValueSize, Dnssd::OperationalAdvertisingParameters::kTxtTotalValueSize); static constexpr size_t kTotalDnsServiceTxtKeySize = std::max(Dnssd::CommissionAdvertisingParameters::kTxtTotalKeySize, - Dnssd::OperationalAdvertisingParameters::kTxtTotalKeySize); + Dnssd::OperationalAdvertisingParameters::kTxtTotalKeySize); #else // Thread only supports operational discovery. static constexpr uint8_t kMaxDnsServiceTxtEntriesNumber = Dnssd::OperationalAdvertisingParameters::kTxtMaxNumber;