kopia lustrzana https://github.com/sh123/esp32_loraprs
Fix CRC enabling for loralib
rodzic
8b98be30c0
commit
e2165619c0
|
@ -292,7 +292,7 @@ void Service::setupLora(long loraFreq, long bw, int sf, int cr, int pwr, int syn
|
|||
LoRa.setCodingRate4(cr);
|
||||
LoRa.setTxPower(pwr);
|
||||
|
||||
if (enableCrc) {
|
||||
if (config_.crcBytes > 0) {
|
||||
LoRa.enableCrc();
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue