[gtest] fix build error when building posix (#11289)

This commit fix build error when running "./script/cmake-build posix
-DOT_BUILD_GTEST=ON".
This commit is contained in:
Jason Zhang
2025-02-25 22:28:58 -08:00
committed by GitHub
parent 33a1f09569
commit 0019f38839
+7
View File
@@ -536,6 +536,13 @@ bool otPlatBleSupportsMultiRadio(otInstance *) { return false; }
otError otPlatBleGapAdvSetData(otInstance *, uint8_t *, uint16_t) { return OT_ERROR_NONE; }
OT_TOOL_WEAK otError otPlatRadioAddCalibratedPower(otInstance *, uint8_t, int16_t, const uint8_t *, uint16_t)
{
return OT_ERROR_NONE;
}
OT_TOOL_WEAK otError otPlatRadioClearCalibratedPowers(otInstance *) { return OT_ERROR_NONE; }
void otPlatSettingsInit(otInstance *, const uint16_t *, uint16_t) {}
void otPlatSettingsDeinit(otInstance *) {}