Fix issue with RadioLib API changes

master 1.0.15
sh123 2023-12-01 16:37:01 +02:00
rodzic e78e0e8513
commit 8a6427f088
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -135,7 +135,7 @@ private:
} __attribute__((packed));
private:
const String CfgLoraprsVersion = "LoRAPRS 1.0.14";
const String CfgLoraprsVersion = "LoRAPRS 1.0.15";
// processor config
const int CfgConnRetryMs = 500; // connection retry delay, e.g. wifi

Wyświetl plik

@ -256,7 +256,7 @@ void Service::setupRig(long loraFreq, long bw, int sf, int cr, int pwr, int sync
#pragma message("Using SX127X")
LOG_INFO("Using SX127X module");
if (isIsrInstalled_) rig_->clearDio0Action();
rig_->setDio0Action(onRigIsrRxPacket);
rig_->setDio0Action(onRigIsrRxPacket, RISING);
isIsrInstalled_ = true;
#endif
@ -299,7 +299,7 @@ void Service::setupRigFsk(long freq, float bitRate, float freqDev, float rxBw, i
#pragma message("Using SX127X")
LOG_INFO("Using SX127X module");
if (isIsrInstalled_) rig_->clearDio0Action();
rig_->setDio0Action(onRigIsrRxPacket);
rig_->setDio0Action(onRigIsrRxPacket, RISING);
isIsrInstalled_ = true;
#endif