From 676754d2575870adc5f4def5c129d9e405054fdd Mon Sep 17 00:00:00 2001 From: S5NC <145265251+S5NC@users.noreply.github.com> Date: Fri, 5 Apr 2024 13:07:44 +0100 Subject: [PATCH] Update LLCC68.cpp --- src/modules/LLCC68/LLCC68.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/LLCC68/LLCC68.cpp b/src/modules/LLCC68/LLCC68.cpp index f7d458ad..734d2258 100644 --- a/src/modules/LLCC68/LLCC68.cpp +++ b/src/modules/LLCC68/LLCC68.cpp @@ -6,7 +6,7 @@ LLCC68::LLCC68(Module* mod) : SX1262(mod) { this->XTAL = true; } -int16_t LLCC68::begin(float freq, float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, int8_t pwr, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO) { +int16_t LLCC68::begin(float freq, float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, int8_t pwr, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO, uint8_t rampTime) { // execute common part int16_t state = SX126x::begin(cr, syncWord, preambleLength, tcxoVoltage, useRegulatorLDO); RADIOLIB_ASSERT(state); @@ -21,7 +21,7 @@ int16_t LLCC68::begin(float freq, float bw, uint8_t sf, uint8_t cr, uint8_t sync state = setSpreadingFactor(sf); RADIOLIB_ASSERT(state); - state = setOutputPower(pwr); + state = setOutputPower(pwr, rampTime); RADIOLIB_ASSERT(state); state = SX126x::fixPaClamping();