[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:
Piotr Koziar
2023-05-18 13:01:54 -07:00
committed by GitHub
parent 62f8205993
commit deaec54dbf
+1 -1
View File
@@ -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