Skip to content

Commit

Permalink
[SX126x] Fix LR-FHSS sync word
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Oct 28, 2024
1 parent 7bbaf38 commit 15a751a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ void setup() {
3, // header count
0x13A); // hopping sequence seed
state = radio.setOutputPower(10.0);
state = radio.setSyncWord(0x12345678);
uint8_t syncWord[] = {0x01, 0x23, 0x45, 0x67};
state = radio.setSyncWord(syncWord, 4);
if (state != RADIOLIB_ERR_NONE) {
Serial.print(F("Unable to set configuration, code "));
Serial.println(state);
Expand Down

0 comments on commit 15a751a

Please sign in to comment.