setRxBoostedGainMode
This commit is contained in:
parent
344112b9d8
commit
e62b4b039f
|
|
@ -61,6 +61,7 @@ namespace LoRa_Utils {
|
||||||
radio.setOutputPower(currentLoRaType->power);
|
radio.setOutputPower(currentLoRaType->power);
|
||||||
radio.setCurrentLimit(140); // still needs to be validated
|
radio.setCurrentLimit(140); // still needs to be validated
|
||||||
#endif
|
#endif
|
||||||
|
radio.setRxBoostedGainMode(true);
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAS_SX127X
|
#ifdef HAS_SX127X
|
||||||
LoRa.setFrequency(currentLoRaType->frequency);
|
LoRa.setFrequency(currentLoRaType->frequency);
|
||||||
|
|
@ -115,6 +116,7 @@ namespace LoRa_Utils {
|
||||||
state = radio.setOutputPower(currentLoRaType->power); // max value 20 (when 20dB in setup 30dB in output as 400M30S has Low Noise Amp)
|
state = radio.setOutputPower(currentLoRaType->power); // max value 20 (when 20dB in setup 30dB in output as 400M30S has Low Noise Amp)
|
||||||
radio.setCurrentLimit(140); // still needs to be validated
|
radio.setCurrentLimit(140); // still needs to be validated
|
||||||
#endif
|
#endif
|
||||||
|
radio.setRxBoostedGainMode(true);
|
||||||
if (state == RADIOLIB_ERR_NONE) {
|
if (state == RADIOLIB_ERR_NONE) {
|
||||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "LoRa", "LoRa init done!");
|
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "LoRa", "LoRa init done!");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue