Commit ed05cb79 authored by Markéta Jedličková's avatar Markéta Jedličková
Browse files

Init for RFM69 bug fixed

parent 6d44857f
......@@ -111,7 +111,6 @@ void setup()
// wait for the Arduino serial (on your PC) to connect
// please, open the Arduino serial console (right top corner)
// note that the port may change after uploading the sketch
......@@ -173,11 +172,10 @@ void setup()
// Uncomment when you want to see debug prints from GPS library
// gps.debugPrintOn(57600);
if(radio.initialize(FREQUENCY, MYNODEID, NETWORKID))
if(!radio.initialize(FREQUENCY, MYNODEID, NETWORKID))
isRadioOk = false;
Serial.println("RFM69HW initialization failed!");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment