We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5462848 commit 35bb795Copy full SHA for 35bb795
micropython/lora/lora-sx126x/lora/sx126x.py
@@ -386,7 +386,7 @@ def configure(self, lora_cfg):
386
# see
387
# https://www.thethingsnetwork.org/forum/t/should-private-lorawan-networks-use-a-different-sync-word/34496/15
388
syncword = 0x0404 + ((syncword & 0x0F) << 4) + ((syncword & 0xF0) << 8)
389
- self._cmd(">BBH", _CMD_WRITE_REGISTER, _REG_LSYNCRH, syncword)
+ self._cmd(">BHH", _CMD_WRITE_REGISTER, _REG_LSYNCRH, syncword)
390
391
if not self._configured or any(
392
key in lora_cfg for key in ("output_power", "pa_ramp_us", "tx_ant")
0 commit comments