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;