mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 11:19:58 +00:00
OCP limit into SX126x class where it belongs.
This commit is contained in:
parent
ab0a06e536
commit
6bd495a491
@ -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
|
||||
|
||||
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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user