Skip to content

Commit

Permalink
Fix compilation issue for SX127x
Browse files Browse the repository at this point in the history
  • Loading branch information
sh123 committed Dec 2, 2023
1 parent 73f8655 commit a8f7dc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/radio_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void RadioTask::setupRig(long loraFreq, long bw, int sf, int cr, int pwr, int sy
#pragma message("Using SX127X")
LOG_INFO("Using SX127X module");
if (isIsrInstalled_) rig_->clearDio0Action();
rig_->setDio0Action(onRigIsrRxPacket);
rig_->setDio0Action(onRigIsrRxPacket, RISING);
isIsrInstalled_ = true;
#endif
rig_->explicitHeader();
Expand Down Expand Up @@ -117,7 +117,7 @@ void RadioTask::setupRigFsk(long freq, float bitRate, float freqDev, float rxBw,
#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 a8f7dc0

Please sign in to comment.