sforkowany z mirror/meshtastic-firmware
OCP limit into SX126x class where it belongs.
rodzic
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
|
||||
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
|
||||
*/
|
||||
|
|
Ładowanie…
Reference in New Issue