[STM32WL] Fix output ramp time configuration

This commit is contained in:
jgromes 2024-05-19 19:05:03 +02:00
parent 60d1738c91
commit 98c80a9cb9

View file

@ -93,9 +93,8 @@ int16_t STM32WLx::setOutputPower(int8_t power) {
state = SX126x::fixPaClamping(use_hp); state = SX126x::fixPaClamping(use_hp);
RADIOLIB_ASSERT(state); RADIOLIB_ASSERT(state);
// set output power // set output power with default 200us ramp
/// \todo power ramp time configuration state = SX126x::setTxParams(power, RADIOLIB_SX126X_PA_RAMP_200U);
state = SX126x::setTxParams(power);
RADIOLIB_ASSERT(state); RADIOLIB_ASSERT(state);
// restore OCP configuration // restore OCP configuration