Skip to content

Commit

Permalink
Wide_Lora uses 12 symbols to be compatible with SX1280
Browse files Browse the repository at this point in the history
  • Loading branch information
caveman99 committed Nov 3, 2024
1 parent 45f5207 commit 434b1c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mesh/LR11x0Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ template <typename T> bool LR11x0Interface<T>::init()
power = LR1110_MAX_POWER;

if ((power > LR1120_MAX_POWER) &&
(config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24)) // clamp again if wide freq range
(config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24)) { // clamp again if wide freq range
power = LR1120_MAX_POWER;
preambleLength = 12; // 12 is the default for operation above 2GHz
}

limitPower();

Expand Down

0 comments on commit 434b1c6

Please sign in to comment.