From ab0a06e536d877afbe4df04f56e2955b6871c573 Mon Sep 17 00:00:00 2001 From: Solanaceae <93513823+Solarvortx@users.noreply.github.com> Date: Tue, 30 Nov 2021 17:56:19 -0700 Subject: [PATCH] Raising currentLimit for SX1262 --- src/mesh/RadioLibInterface.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mesh/RadioLibInterface.h b/src/mesh/RadioLibInterface.h index cd46968ce..25931f5b7 100644 --- a/src/mesh/RadioLibInterface.h +++ b/src/mesh/RadioLibInterface.h @@ -87,8 +87,12 @@ class RadioLibInterface : public RadioInterface, protected concurrency::Notified * for a long time. */ const uint8_t syncWord = 0x2b; - - float currentLimit = 100; // FIXME + + #ifdef USE_SX1262 + float currentLimit = 140; //SX1262 higher limit - this should allow for extra current used by the PA at +22dBm. + #else + float currentLimit = 100; // 100mA OCP - Should be acceptable for RFM95/SX127x chipset. + #endif LockingModule module; // The HW interface to the radio