diff --git a/src/rf95/RF95Interface.cpp b/src/rf95/RF95Interface.cpp index 58176e060..03270da15 100644 --- a/src/rf95/RF95Interface.cpp +++ b/src/rf95/RF95Interface.cpp @@ -24,14 +24,13 @@ bool RF95Interface::init() */ if (CH0 < 500.0) { auto dev = new RFM96(&module); - lora = dev; + iface = lora = dev; res = dev->begin(freq, bw, sf, cr, syncWord, power, currentLimit, preambleLength); } else { auto dev = new RFM95(&module); - lora = dev; + iface = lora = dev; res = dev->begin(freq, bw, sf, cr, syncWord, power, currentLimit, preambleLength); } - DEBUG_MSG("LORA init result %d\n", res); if (res == ERR_NONE)