Short turbo preset (#4465)

This commit is contained in:
Ben Meadors
2024-08-14 21:16:21 -05:00
committed by GitHub
parent ced87596cb
commit 96cf78aadd
2 changed files with 8 additions and 0 deletions

View File

@@ -415,6 +415,11 @@ void RadioInterface::applyModemConfig()
if (loraConfig.use_preset) {
switch (loraConfig.modem_preset) {
case meshtastic_Config_LoRaConfig_ModemPreset_SHORT_TURBO:
bw = (myRegion->wideLora) ? 812.5 : 500;
cr = 5;
sf = 7;
break;
case meshtastic_Config_LoRaConfig_ModemPreset_SHORT_FAST:
bw = (myRegion->wideLora) ? 812.5 : 250;
cr = 5;