summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-09-14 12:37:12 -0500
committerJason Reiss <jreiss@multitech.com>2020-09-14 12:37:12 -0500
commitfce3ae775ab928b9ed078be766c2a04a07693b36 (patch)
treeb5c31a3a24f0ee12f19d75a5930e5f82f9ee4f61
parent100104ee350a0e469b348ac383486d311caaf5e5 (diff)
downloadpacket_forwarder_mtac_full-fce3ae775ab928b9ed078be766c2a04a07693b36.tar.gz
packet_forwarder_mtac_full-fce3ae775ab928b9ed078be766c2a04a07693b36.tar.bz2
packet_forwarder_mtac_full-fce3ae775ab928b9ed078be766c2a04a07693b36.zip
Update lora_pkt_fwd.c - AU915 and US915 beacon format is was different because of specification errors, see 1.0.3rA errata4.0.1-mts-8
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index 4468e99..3d89486 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -2442,15 +2442,8 @@ void thread_down(void) {
break;
case 12:
beacon_pkt.datarate = DR_LORA_SF12;
-
- /* Check radio 0 center frequency to determine if US or AU region */
- if (rx_rf_freq[0] > 914900000U ) {
- beacon_RFU1_size = 3;
- beacon_RFU2_size = 1;
- } else {
- beacon_RFU1_size = 5;
- beacon_RFU2_size = 3;
- }
+ beacon_RFU1_size = 5;
+ beacon_RFU2_size = 3;
break;
default:
/* should not happen */