mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-10-31 02:51:59 +01:00
Fixup - RadioLib now supports calibration
This commit is contained in:
1 parent
986129b7a7
commit
c6833ee3b0
1 file changed
+1
-4
+1
-4
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user