From c6833ee3b020fa411f54992ba01443e003d05390 Mon Sep 17 00:00:00 2001 From: Sassa NF Date: Tue, 24 Dec 2024 12:56:56 +0000 Subject: [PATCH] Fixup - RadioLib now supports calibration --- src/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8650b37..d9736d8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -569,12 +569,9 @@ bool setFrequency(float curr_freq) state = state1; #elif USING_SX1276 state = radio.setFrequency(freq); -#elif defined(USING_LR1121) - state = radio.setFrequency(r.current_frequency, - true); // true = no calibration need here #else state = radio.setFrequency(r.current_frequency, - false); // false = calibration is needed here + true); // true = no calibration need here #endif if (state != RADIOLIB_ERR_NONE) {