Shorten LoRa preset labels, default to Long Fast

This commit is contained in:
DeFiDude committed 2026-03-30 01:21:33 -06:00
1 parent 4b35318121
commit 33ce7eab56
2 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -22,10 +22,10 @@
// TCXO voltage: 1.8V for T-Deck Plus integrated SX1262 (Ratputer Cap LoRa uses 3.0V/0x06)
#define LORA_TCXO_VOLTAGE 0x02 // MODE_TCXO_1_8V_6X
#define LORA_DEFAULT_FREQ 915000000
#define LORA_DEFAULT_BW 125000 // Balanced preset
#define LORA_DEFAULT_SF 9
#define LORA_DEFAULT_BW 250000 // Long Fast preset
#define LORA_DEFAULT_SF 11
#define LORA_DEFAULT_CR 5
#define LORA_DEFAULT_TX_POWER 17 // Balanced preset
#define LORA_DEFAULT_TX_POWER 22 // Long Fast preset
#define LORA_DEFAULT_PREAMBLE 18
// --- Shared SPI Bus (display + LoRa + SD) ---
+8 -8
View File
@@ -25,14 +25,14 @@ struct RadioPresetLv {
uint8_t sf; uint32_t bw; uint8_t cr; int8_t txPower; long preamble;
};
static const RadioPresetLv LV_PRESETS[] = {
{"Short Turbo (21.99 kbps, 140dB)", 7, 500000, 5, 14, 18},
{"Short Fast (10.84 kbps, 143dB)", 7, 250000, 5, 14, 18},
{"Short Slow (6.25 kbps, 145.5dB)", 8, 250000, 5, 14, 18},
{"Medium Fast (3.52 kbps, 148dB)", 9, 250000, 5, 17, 18},
{"Medium Slow (1.95 kbps, 150.5dB)", 10, 250000, 5, 17, 18},
{"Long Turbo (1.34 kbps, 150dB)", 11, 500000, 8, 22, 18},
{"Long Fast (1.07 kbps, 153dB)", 11, 250000, 5, 22, 18},
{"Long Moderate (0.34 kbps, 156dB)", 11, 125000, 8, 22, 18},
{"Short Turbo", 7, 500000, 5, 14, 18},
{"Short Fast", 7, 250000, 5, 14, 18},
{"Short Slow", 8, 250000, 5, 14, 18},
{"Medium Fast", 9, 250000, 5, 17, 18},
{"Medium Slow", 10, 250000, 5, 17, 18},
{"Long Turbo", 11, 500000, 8, 22, 18},
{"Long Fast", 11, 250000, 5, 22, 18},
{"Long Moderate", 11, 125000, 8, 22, 18},
};
static constexpr int LV_NUM_PRESETS = 8;