[test] add implementation of otPlatRadioSetChannelTargetPower in FakePlatform (#10865)

This commit is contained in:
Li Cao
2024-10-28 09:28:13 -07:00
committed by GitHub
parent 788608335e
commit 8cb126ede8
+3
View File
@@ -406,6 +406,9 @@ otError otPlatRadioConfigureEnhAckProbing(otInstance *, otLinkMetrics, otShortAd
return OT_ERROR_NOT_IMPLEMENTED;
}
// Add WEAK here because in some unit test there is an implementation for `otPlatRadioSetChannelTargetPower`
OT_TOOL_WEAK otError otPlatRadioSetChannelTargetPower(otInstance *, uint8_t, int16_t) { return OT_ERROR_NONE; }
void otPlatReset(otInstance *) {}
otPlatResetReason otPlatGetResetReason(otInstance *) { return OT_PLAT_RESET_REASON_POWER_ON; }