diff --git a/include/loraprs_service.h b/include/loraprs_service.h index 53b7033..292d901 100644 --- a/include/loraprs_service.h +++ b/include/loraprs_service.h @@ -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 diff --git a/src/loraprs_service.cpp b/src/loraprs_service.cpp index aaa1bba..66dbaae 100644 --- a/src/loraprs_service.cpp +++ b/src/loraprs_service.cpp @@ -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