From cced6fffdcae3ec3069bb3e04fa2ecc61a23c67a Mon Sep 17 00:00:00 2001 From: Henry Potgieter Date: Mon, 30 Mar 2026 01:39:39 -0400 Subject: [PATCH] Adjust gain values --- Boards.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Boards.h b/Boards.h index ca97b71..4c2a72c 100644 --- a/Boards.h +++ b/Boards.h @@ -428,9 +428,11 @@ #define LORA_PA_CTX 5 // KCT8103L: TX/LNA select (CTX=LOW=LNA, CTX=HIGH=PA) #define LORA_PA_CPS 46 // GC1109: TX_EN - #define PA_MAX_OUTPUT 28 - #define PA_GAIN_POINTS 22 - #define PA_GAIN_VALUES 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12, 12, 11, 11, 10, 9, 8, 7 + #define PA_MAX_OUTPUT 28 + #define PA_GAIN_POINTS 22 + #define PA_GC1109_GAIN_VALUES 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 9, 9, 8, 7 + #define PA_KCT8103L_GAIN_VALUES 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12, 12, 11, 11, 10, 9, 8, 7 + #define PA_GAIN_VALUES PA_KCT8103L_GAIN_VALUES // compile-time fallback; runtime detection selects correct table const int pin_cs = 8; const int pin_busy = 13;