mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 14:47:46 +00:00
[ncp-buffer] initialize mReadDirection member variable (#2232)
This commit is contained in:
committed by
Jonathan Hui
parent
9e1ea1d9bc
commit
572fd2c9e2
@@ -71,6 +71,7 @@ void NcpFrameBuffer::Clear(void)
|
||||
mWriteFrameTag = kInvalidTag;
|
||||
|
||||
// Read (OutFrame) related variables
|
||||
mReadDirection = kForward;
|
||||
mReadState = kReadStateNotActive;
|
||||
mReadFrameLength = kUnknownFrameLength;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user