Skip to content

Commit 79a75b8

Browse files
authored
Merge pull request #465 from fdlamotte/t1000e_preamble_16
t1000e: set preamble to 16 at init
2 parents 1d1bafb + b80d99e commit 79a75b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/t1000-e/target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ bool radio_init() {
5454

5555
SPI.setPins(P_LORA_MISO, P_LORA_SCLK, P_LORA_MOSI);
5656
SPI.begin();
57-
int status = radio.begin(LORA_FREQ, LORA_BW, LORA_SF, LORA_CR, RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE, LORA_TX_POWER, 8, tcxo);
57+
int status = radio.begin(LORA_FREQ, LORA_BW, LORA_SF, LORA_CR, RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE, LORA_TX_POWER, 16, tcxo);
5858
if (status != RADIOLIB_ERR_NONE) {
5959
Serial.print("ERROR: radio init failed: ");
6060
Serial.println(status);

0 commit comments

Comments
 (0)