mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 02:37:47 +00:00
[ncp] fix RegisterPeekPokeDelegates call (#9064)
This commit fixes an issue where `RegisterPeekPoke` was called instead of `RegisterPeekPokeDelegates`, causing compilation errors in some builds.
This commit is contained in:
@@ -2608,7 +2608,7 @@ void otNcpRegisterPeekPoke(otNcpDelegateAllowPeekPoke aAllowPeekDelegate, otNcpD
|
||||
|
||||
if (ncp != nullptr)
|
||||
{
|
||||
ncp->RegisterPeekPoke(aAllowPeekDelegate, aAllowPokeDelegate);
|
||||
ncp->RegisterPeekPokeDelegates(aAllowPeekDelegate, aAllowPokeDelegate);
|
||||
}
|
||||
}
|
||||
#endif // OPENTHREAD_CONFIG_NCP_ENABLE_PEEK_POKE
|
||||
|
||||
Reference in New Issue
Block a user