mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 17:17:45 +00:00
NcpBase: Check for and clear NETDATA_UPDATED flag in the UpdateChangedProps() (#426)
This commit is contained in:
committed by
Jonathan Hui
parent
9ff00bdbae
commit
7629974572
@@ -612,6 +612,12 @@ void NcpBase::UpdateChangedProps(void)
|
||||
//));
|
||||
mChangedFlags &= ~static_cast<uint32_t>(OT_THREAD_CHILD_ADDED | OT_THREAD_CHILD_REMOVED);
|
||||
}
|
||||
else if ((mChangedFlags & OT_THREAD_NETDATA_UPDATED) != 0)
|
||||
{
|
||||
// TODO: Handle the netdata changed event.
|
||||
|
||||
mChangedFlags &= ~static_cast<uint32_t>(OT_THREAD_NETDATA_UPDATED);
|
||||
}
|
||||
}
|
||||
|
||||
exit:
|
||||
|
||||
Reference in New Issue
Block a user