r g / SX1276GenericLib-us915

Dependents:   DISCO-L072CZ-LRWAN1_LoRa_PingPong

Fork of SX1276GenericLib by Helmut Tschemernjak

Files at this revision

API Documentation at this revision

Comitter:
Helmut Tschemernjak
Date:
Sat May 06 13:58:14 2017 +0200
Parent:
34:07e89f23c734
Child:
36:f2b885b6f33e
Commit message:
Disable MURATA Boost by default.

Changed in this revision

sx1276/sx1276-hal.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/sx1276/sx1276-hal.cpp	Sat May 06 11:52:23 2017 +0200
+++ b/sx1276/sx1276-hal.cpp	Sat May 06 13:58:14 2017 +0200
@@ -320,7 +320,8 @@
             if (boardConnected == MURATA_SX1276) {
 	            *_antSwitch = 0;// Murata-RX
 	            *_antSwitchTX = 1; 	// alternate: antSwitchTXBoost = 1
-    		} else {
+                *_antSwitchTXBoost = 0;
+            } else {
                 if (_antSwitch)
 	        		*_antSwitch = 1;
 			}