Skip to content

Commit 8a6427f

Browse files
committed
Fix issue with RadioLib API changes
1 parent e78e0e8 commit 8a6427f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/loraprs_service.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class Service : virtual public Kiss::Processor
135135
} __attribute__((packed));
136136

137137
private:
138-
const String CfgLoraprsVersion = "LoRAPRS 1.0.14";
138+
const String CfgLoraprsVersion = "LoRAPRS 1.0.15";
139139

140140
// processor config
141141
const int CfgConnRetryMs = 500; // connection retry delay, e.g. wifi

src/loraprs_service.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ void Service::setupRig(long loraFreq, long bw, int sf, int cr, int pwr, int sync
256256
#pragma message("Using SX127X")
257257
LOG_INFO("Using SX127X module");
258258
if (isIsrInstalled_) rig_->clearDio0Action();
259-
rig_->setDio0Action(onRigIsrRxPacket);
259+
rig_->setDio0Action(onRigIsrRxPacket, RISING);
260260
isIsrInstalled_ = true;
261261
#endif
262262

@@ -299,7 +299,7 @@ void Service::setupRigFsk(long freq, float bitRate, float freqDev, float rxBw, i
299299
#pragma message("Using SX127X")
300300
LOG_INFO("Using SX127X module");
301301
if (isIsrInstalled_) rig_->clearDio0Action();
302-
rig_->setDio0Action(onRigIsrRxPacket);
302+
rig_->setDio0Action(onRigIsrRxPacket, RISING);
303303
isIsrInstalled_ = true;
304304
#endif
305305

0 commit comments

Comments
 (0)