Fork of Semtech LoRaWAN stack

Fork of LoRaWAN-lib by canuck lehead

Branch:
develop
Revision:
45:ac627973595b
Parent:
44:1e9aa4618a68
diff -r 1e9aa4618a68 -r ac627973595b LoRaMac.cpp
--- a/LoRaMac.cpp	Tue Aug 22 11:18:15 2017 -0400
+++ b/LoRaMac.cpp	Tue Aug 22 15:05:17 2017 -0400
@@ -2241,6 +2241,10 @@
 {
     int8_t resultTxPower = txPower;
 
+#ifdef NO_TX_POWER_LIMIT
+    return resultTxPower;
+#endif
+
     // Limit tx power to the band max
     resultTxPower =  MAX( txPower, maxBandTxPower );