[SX126x] Fix LR-FHSS sync word

pull/1302/head
jgromes 2024-10-28 18:51:43 +00:00
rodzic 7bbaf38651
commit 15a751a543
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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);