Skip to content

Commit

Permalink
Even more logging for RFM95.
Browse files Browse the repository at this point in the history
  • Loading branch information
kisom committed Mar 1, 2019
1 parent c6bbf48 commit 621f798
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/wing_rfm95.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ RFM95::setup()

if (!this->radio.init()) {
Serial.println("failed to start radio");
Serial.print("CS: ");
Serial.print(this->cs);
Serial.print(", IRQ: ");
Serial.print(this->irq);
Serial.print(", RST: ");
Serial.println(this->rst);
return false;
}

Expand Down

0 comments on commit 621f798

Please sign in to comment.