mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 06:37:46 +00:00
Ncp: Post the tasklet mUpdateChangedPropTask from constructor for initial reset flag. (#453)
This commit is contained in:
committed by
Jonathan Hui
parent
834c8ebc94
commit
97cbae2174
@@ -388,6 +388,8 @@ NcpBase::NcpBase():
|
||||
otSetStateChangedCallback(&HandleNetifStateChanged, this);
|
||||
otSetReceiveIp6DatagramCallback(&HandleDatagramFromStack, this);
|
||||
otSetIcmpEchoEnabled(false);
|
||||
|
||||
mUpdateChangedPropsTask.Post();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user