mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-07 21:52:35 -04:00
OCP limit into SX126x class where it belongs.
This commit is contained in:
1 parent
ab0a06e536
commit
6bd495a491
2 files changed
+3
-5
No files matched your search
@@ -88,11 +88,7 @@ class RadioLibInterface : public RadioInterface, protected concurrency::Notified
|
||||
*/
|
||||
const uint8_t syncWord = 0x2b;
|
||||
|
||||
#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
|
||||
float currentLimit = 100; // 100mA OCP - Should be acceptable for RFM95/SX127x chipset.
|
||||
|
||||
LockingModule module; // The HW interface to the radio
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@ class SX126xInterface : public RadioLibInterface
|
||||
|
||||
protected:
|
||||
|
||||
float currentLimit = 140; // Higher OCP limit for SX126x PA
|
||||
|
||||
/**
|
||||
* Specific module instance
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user