Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: radio_sx128x.cpp
- Revision:
- 6:44a9df0e7855
- Parent:
- 5:1e5cb7139acb
- Child:
- 9:295e37c38fb3
--- a/radio_sx128x.cpp Thu Dec 06 14:24:18 2018 -0800
+++ b/radio_sx128x.cpp Fri Dec 14 12:19:07 2018 -0800
@@ -1496,7 +1496,7 @@
ppLORA.lora.HeaderType = EXPLICIT_HEADER;
radio.xfer(OPCODE_SET_PACKET_PARAMS, 5, 0, ppLORA.buf);
- return ppLORA.lora.HeaderType == EXPLICIT_HEADER;
+ return ppLORA.lora.HeaderType == IMPLICIT_HEADER;
}
const toggle_item_t Radio::lora_fixlen_item = { _ITEM_TOGGLE,
@@ -1548,7 +1548,7 @@
radio.xfer(OPCODE_SET_PACKET_PARAMS, 5, 0, ppLORA.buf);
- return ppLORA.lora.InvertIQ == LORA_IQ_STD;
+ return ppLORA.lora.InvertIQ == LORA_IQ_INVERTED;
}
const toggle_item_t Radio::lora_iqinv_item = { _ITEM_TOGGLE,