mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[ncp] initialize SpinelEncoder property mSavedNumOpenStructs (#2394)
This commit is contained in:
committed by
Jonathan Hui
parent
d704694816
commit
9afb77668f
@@ -59,7 +59,8 @@ public:
|
||||
* @param[in] aNcpBuffer A reference to a `NcpFrameBuffer` where the frames are written.
|
||||
*
|
||||
*/
|
||||
SpinelEncoder(NcpFrameBuffer &aNcpBuffer): mNcpBuffer(aNcpBuffer), mNumOpenStructs(0) { }
|
||||
SpinelEncoder(NcpFrameBuffer &aNcpBuffer):
|
||||
mNcpBuffer(aNcpBuffer), mNumOpenStructs(0), mSavedNumOpenStructs(0), mSavedPosition() { }
|
||||
|
||||
/**
|
||||
* This method begins a new frame to be added/written to the frame buffer.
|
||||
|
||||
Reference in New Issue
Block a user