Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Mar 26, 2024
1 parent 179f347 commit 9c64a6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/radio/SX1262/SX126x_PingPong/SX126x_PingPong.ino
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void setup()
#else
// start listening for LoRa packets on this node
Serial.print(F("[SX1262] Starting to listen ... "));
int state = radio.startReceive();
state = radio.startReceive();
if (state == RADIOLIB_ERR_NONE) {
Serial.println(F("success!"));
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void setup()

// start listening for LoRa packets
Serial.print(F("[SX1262] Starting to listen ... "));
int state = radio.startReceive();
state = radio.startReceive();
if (state == RADIOLIB_ERR_NONE) {
Serial.println(F("success!"));
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,6 @@ void setup()

beginLvglHelper();

// initialize SX1262 with default settings
Serial.print(F("[SX1262] Initializing ... "));
int state = radio.begin();
if (state == RADIOLIB_ERR_NONE) {
Serial.println(F("success!"));
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while (true);
}

// initialize SX1262 FSK modem at the initial frequency
Serial.print(F("[SX1262] Initializing ... "));
int state = radio.beginFSK();
Expand Down

0 comments on commit 9c64a6c

Please sign in to comment.