v1.0.15: Default TX power to board PA_MAX_OUTPUT

- Add PA_MAX_OUTPUT define: V3=22, V4=28, default=20
- Captive portal TX power field now defaults to board max
This commit is contained in:
James L
2026-02-28 15:21:34 -05:00
parent a3ea18b4a7
commit 3a511e8a11
2 changed files with 7 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ static void config_send_html() {
int cur_sf = lora_sf;
int cur_cr = lora_cr;
int cur_txp = lora_txp;
if (cur_txp == 0xFF) cur_txp = 28; // Default TX power
if (cur_txp == 0xFF) cur_txp = PA_MAX_OUTPUT; // Default to board max
// Default frequency if not set
if (cur_freq == 0) cur_freq = 914875000; // 914.875 MHz default