Driver library for SX1272/SX1276 transceivers
Fork of SX127x by
Diff: sx127x.cpp
- Revision:
- 7:c785b65d3db4
- Parent:
- 6:5d94ee847016
diff -r 5d94ee847016 -r c785b65d3db4 sx127x.cpp --- a/sx127x.cpp Mon Jun 30 17:05:12 2014 +0000 +++ b/sx127x.cpp Thu Sep 04 20:57:28 2014 +0000 @@ -17,7 +17,7 @@ */ SX127x::SX127x(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName rst, PinName dio_0, PinName dio_1, PinName fem_ctx, PinName fem_cps) : - m_spi(mosi, miso, sclk), m_cs(cs), reset_pin(rst), dio0(dio_0), dio1(dio_1), femctx(fem_ctx), femcps(fem_cps) + m_spi(mosi, miso, sclk,cs), m_cs(cs), reset_pin(rst), dio0(dio_0), dio1(dio_1), femctx(fem_ctx), femcps(fem_cps) { reset_pin.input(); m_cs = 1;