kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
Fix power limitations on 20dBm TX iGate
rodzic
d7cd72a567
commit
5fb31d8b07
|
@ -100,6 +100,10 @@ bool RadiolibTask::setup(System &system) {
|
|||
}
|
||||
}
|
||||
|
||||
if (config.power > 17 && config.tx_enable) {
|
||||
radio->setCurrentLimit(140);
|
||||
}
|
||||
|
||||
preambleDurationMilliSec = ((uint64_t)(preambleLength + 4) << (config.spreadingFactor + 10 /* to milli-sec */)) / config.signalBandwidth;
|
||||
|
||||
_stateInfo = "";
|
||||
|
|
Ładowanie…
Reference in New Issue