Fork of SX1276 library, with setLowDataRateOptimize() function added to configure "Low Datarate Optimize" setting of chip.

Dependents:   SX1276_terminal SX1276_Semtech_GUI

Fork of SX127x by wayne roberts

Revision:
3:3bf2515b1eed
Parent:
2:fdae76e1215e
Child:
4:d987ac2836bf
--- a/sx127x_lora.cpp	Wed Apr 30 22:49:43 2014 +0000
+++ b/sx127x_lora.cpp	Fri May 02 01:18:59 2014 +0000
@@ -16,8 +16,7 @@
  * limitations under the License.
  */
 
-//SX127x_lora::SX127x_lora(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName rst, PinName dio_0, PinName dio_1, PinName fem_ctx, PinName fem_cps) : SX127x(mosi, miso, sclk, cs, rst, dio_0, dio_1, fem_ctx, fem_cps)
-SX127x_lora::SX127x_lora(SX127x r) : m_xcvr(r)
+SX127x_lora::SX127x_lora(SX127x& r) : m_xcvr(r)
 {
     RegModemConfig.octet = m_xcvr.read_reg(REG_LR_MODEMCONFIG);
     RegModemConfig2.octet = m_xcvr.read_reg(REG_LR_MODEMCONFIG2);