mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 19:57:46 +00:00
[radio] change SetCcaEnergyDetectThreshold() to pass by value (#4356)
This commit is contained in:
committed by
Jonathan Hui
parent
557c44dc6c
commit
e04a999028
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user