[STM32WL] Fix output ramp time configuration
This commit is contained in:
parent
60d1738c91
commit
98c80a9cb9
1 changed files with 2 additions and 3 deletions
|
@ -93,9 +93,8 @@ int16_t STM32WLx::setOutputPower(int8_t power) {
|
|||
state = SX126x::fixPaClamping(use_hp);
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
||||
// set output power
|
||||
/// \todo power ramp time configuration
|
||||
state = SX126x::setTxParams(power);
|
||||
// set output power with default 200us ramp
|
||||
state = SX126x::setTxParams(power, RADIOLIB_SX126X_PA_RAMP_200U);
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
||||
// restore OCP configuration
|
||||
|
|
Loading…
Add table
Reference in a new issue