mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 09:27:47 +00:00
[posix-app] fix getting tx power (#2957)
This commit is contained in:
@@ -904,7 +904,7 @@ otError RadioSpinel::ClearSrcMatchExtEntries(void)
|
||||
|
||||
otError RadioSpinel::GetTransmitPower(int8_t &aPower)
|
||||
{
|
||||
otError error = Get(SPINEL_PROP_PHY_TX_POWER, SPINEL_DATATYPE_INT8_S, aPower);
|
||||
otError error = Get(SPINEL_PROP_PHY_TX_POWER, SPINEL_DATATYPE_INT8_S, &aPower);
|
||||
|
||||
LogIfFail(mInstance, "Get transmit power failed", error);
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user