[ncp] fix constructor initializer list format (#3275)

This commit is contained in:
Abtin Keshavarzian
2018-11-06 15:11:35 -08:00
committed by Jonathan Hui
parent 38bd256997
commit 720500be71
+6 -12
View File
@@ -213,13 +213,11 @@ NcpBase::NcpBase(Instance *aInstance)
, mHostPowerState(SPINEL_HOST_POWER_STATE_ONLINE)
, mHostPowerReplyFrameTag(NcpFrameBuffer::kInvalidTag)
, mHostPowerStateHeader(0)
,
#if OPENTHREAD_CONFIG_NCP_ENABLE_PEEK_POKE
mAllowPeekDelegate(NULL)
, mAllowPeekDelegate(NULL)
, mAllowPokeDelegate(NULL)
,
#endif
mNextExpectedTid(0)
, mNextExpectedTid(0)
, mResponseQueueHead(0)
, mResponseQueueTail(0)
, mAllowLocalNetworkDataChange(false)
@@ -227,27 +225,23 @@ NcpBase::NcpBase(Instance *aInstance)
, mIsRawStreamEnabled(false)
, mDisableStreamWrite(false)
, mShouldEmitChildTableUpdate(false)
,
#if OPENTHREAD_FTD
mPreferredRouteId(0)
,
, mPreferredRouteId(0)
#endif
#if OPENTHREAD_RADIO || OPENTHREAD_ENABLE_RAW_LINK_API
mCurTransmitTID(0)
, mCurTransmitTID(0)
, mCurScanChannel(kInvalidScanChannel)
, mSrcMatchEnabled(false)
,
#endif // OPENTHREAD_RADIO || OPENTHREAD_ENABLE_RAW_LINK_API
#if OPENTHREAD_MTD || OPENTHREAD_FTD
mInboundSecureIpFrameCounter(0)
, mInboundSecureIpFrameCounter(0)
, mInboundInsecureIpFrameCounter(0)
, mOutboundSecureIpFrameCounter(0)
, mOutboundInsecureIpFrameCounter(0)
, mDroppedOutboundIpFrameCounter(0)
, mDroppedInboundIpFrameCounter(0)
,
#endif // OPENTHREAD_MTD || OPENTHREAD_FTD
mFramingErrorCounter(0)
, mFramingErrorCounter(0)
, mRxSpinelFrameCounter(0)
, mRxSpinelOutOfOrderTidCounter(0)
, mTxSpinelFrameCounter(0)