Fork of Semtech LoRaWAN stack
Fork of LoRaWAN-lib by
Revision 45:ac627973595b, committed 2017-08-22
- Comitter:
- Shaun Nelson
- Date:
- Tue Aug 22 15:05:17 2017 -0400
- Branch:
- develop
- Parent:
- 44:1e9aa4618a68
- Commit message:
- Do not limit transmit power if NO_TX_POWER_LIMIT is defined
Changed in this revision
| LoRaMac.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 );
