LMiC for XRange

Dependents:   XRange-LoRaWAN-lmic-app

Fork of LMiC by Semtech

Revision:
2:805829f2b359
Parent:
1:d3b7bde3995c
--- a/radio.cpp	Tue Mar 31 13:36:56 2015 +0000
+++ b/radio.cpp	Sun May 31 17:57:35 2015 +0000
@@ -18,7 +18,7 @@
 #include "lmic.h"
 
 #if USE_SMTC_RADIO_DRIVER
-#include "sx1276-hal.h"
+#include "sx1272-hal.h"
 
 /*!
  * Syncword for lora networks
@@ -66,7 +66,7 @@
 /*
  * Radio object declraration
  */
-SX1276MB1xAS Radio( OnTxDone, OnTxTimeout, OnRxDone, OnRxTimeout, OnRxError, NULL, NULL );
+XRange Radio( OnTxDone, OnTxTimeout, OnRxDone, OnRxTimeout, OnRxError, NULL, NULL );
 
 static const u2_t LORA_RXDONE_FIXUP[] = {
     [FSK]  =     us2osticks(0), // (   0 ticks)