override new RadioLib's default current limit value (60 mA) to the previous value of 100mA

This commit is contained in:
Vladislav Osmanov
2021-09-08 14:30:52 +03:00
parent c8269d67c3
commit 1a671f2877
4 changed files with 23 additions and 0 deletions
+5
View File
@@ -62,6 +62,11 @@ class RadioLibRF95: public SX1278 {
/// For debugging
uint8_t readReg(uint8_t addr);
protected:
// since default current limit for SX126x/127x in updated RadioLib is 60mA
// use the previous value
float currentLimit = 100;
#ifndef RADIOLIB_GODMODE
private:
#endif