Skip to content

Commit

Permalink
Fix issue with RadioLib API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sh123 committed Dec 1, 2023
1 parent e78e0e8 commit 8a6427f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/loraprs_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Service : virtual public Kiss::Processor
} __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
Expand Down
4 changes: 2 additions & 2 deletions src/loraprs_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 8a6427f

Please sign in to comment.