Use common power amp definition for Heltec v4 and Heltec Tracker v2

This commit is contained in:
Tom Fifield
2025-09-30 08:30:18 +10:00
parent 8d323a1cf1
commit 0f6131d2c8
5 changed files with 10 additions and 9 deletions

View File

@@ -117,7 +117,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SX126X_MAX_POWER 22
#endif
#ifdef HELTEC_V4
#ifdef USE_GC1109_PA
// Power Amps are often non-linear, so we can use an array of values for the power curve
#define NUM_PA_POINTS 22
#define TX_GAIN_LORA 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 9, 9, 8, 7