123
Diff: sx127x.cpp
- Revision:
- 25:fa867fb9d2f6
- Parent:
- 24:cad6e7ce6928
- Child:
- 27:da6341d9d5b1
diff -r cad6e7ce6928 -r fa867fb9d2f6 sx127x.cpp --- a/sx127x.cpp Thu Oct 22 01:25:27 2015 +0000 +++ b/sx127x.cpp Thu Oct 22 01:27:18 2015 +0000 @@ -50,8 +50,8 @@ } RegLna.octet = read_reg(REG_LNA); - radio.RegLna.bits.LnaBoostHF = 3; - radio.write_reg(REG_LNA, radio.RegLna.octet); + RegLna.bits.LnaBoostHF = 3; + write_reg(REG_LNA, RegLna.octet); } void SX127x::get_type()