SX1276 library for modtronix inair9. Edited for use with NRF51DK board.

Dependents:   InAir9_PingPong

Fork of SX1276Lib_modtronix by modtronix H

Revision:
18:cdb08d710838
Parent:
16:0927c093fd82
Child:
19:ef26bd64cb67
--- a/sx1276/sx1276.cpp	Tue Mar 03 10:42:25 2015 +0000
+++ b/sx1276/sx1276.cpp	Tue Mar 03 23:28:08 2015 +0000
@@ -62,7 +62,12 @@
     this->dioIrq[0] = &SX1276::OnDio0Irq;
     this->dioIrq[1] = &SX1276::OnDio1Irq;
     this->dioIrq[2] = &SX1276::OnDio2Irq;
+    //For SHD3I with inAir9 in imod3, on FRDM-KL25Z board. It uses A4 on FRDM-KL25Z board, which does not have interrupt
+    #if( defined ( TARGET_KL25Z ) && defined(SHIELD_SHD3I_INAIR9) )
+    this->dioIrq[3] = NULL;
+    #else
     this->dioIrq[3] = &SX1276::OnDio3Irq;
+    #endif    
     this->dioIrq[4] = &SX1276::OnDio4Irq;
     this->dioIrq[5] = NULL;