ST-DEVKIT-LRWAN

Dependents:   DISCO-L072CZ-LRWAN1-base

Fork of SX1276GenericLib by Helmut Tschemernjak

Revision:
91:0bf084e4d983
Parent:
89:b0203b4a36ec
--- a/sx1276/sx1276.cpp	Sun Sep 17 12:46:18 2017 +0200
+++ b/sx1276/sx1276.cpp	Mon Dec 04 14:21:04 2017 +0000
@@ -21,6 +21,8 @@
 
 #include "sx1276.h"
 
+#include "main.h"
+
 
 
 const SX1276::BandwidthMap SX1276::FskBandwidths[] =
@@ -721,6 +723,7 @@
         break;
     case MODEM_LORA:
         {
+            ser->printf("[SX1276] SX1276::Send MODEM_LORA\n\r");
             if( this->settings.LoRa.IqInverted == true )
             {
                 Write( REG_LR_INVERTIQ, ( ( Read( REG_LR_INVERTIQ ) & RFLR_INVERTIQ_TX_MASK & RFLR_INVERTIQ_RX_MASK ) | RFLR_INVERTIQ_RX_OFF | RFLR_INVERTIQ_TX_ON ) );