OCP limit into SX126x class where it belongs.

1.2-legacy
Solanaceae 2021-12-02 20:46:36 -07:00
rodzic ab0a06e536
commit 6bd495a491
2 zmienionych plików z 3 dodań i 5 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -29,6 +29,8 @@ class SX126xInterface : public RadioLibInterface
protected:
float currentLimit = 140; // Higher OCP limit for SX126x PA
/**
* Specific module instance
*/