[radio] change SetCcaEnergyDetectThreshold() to pass by value (#4356)

This commit is contained in:
Abtin Keshavarzian
2019-11-27 01:13:47 +08:00
committed by Jonathan Hui
parent 557c44dc6c
commit e04a999028
+1 -1
View File
@@ -295,7 +295,7 @@ public:
* @retval OT_ERROR_NOT_IMPLEMENTED CCA ED threshold configuration via dBm is not implemented.
*
*/
otError SetCcaEnergyDetectThreshold(int8_t &aThreshold)
otError SetCcaEnergyDetectThreshold(int8_t aThreshold)
{
return otPlatRadioSetCcaEnergyDetectThreshold(GetInstance(), aThreshold);
}