summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-basic-station/lora-basic-station-fix-clksrc-0.patch
blob: c5344603bb6c0ca085e505d0cfb7465e50bb4f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/sx1301conf.c b/src/sx1301conf.c
index bca649c..fe62351 100644
--- a/src/sx1301conf.c
+++ b/src/sx1301conf.c
@@ -193,7 +193,8 @@ static void parse_sx1301_conf (ujdec_t* D, struct sx1301conf* sx1301conf) {
             break;
         }
         case J_clksrc: {
             sx1301conf->boardconf.clksrc = uj_intRange(D, 0, LGW_RF_CHAIN_NB-1);
+            sx1301conf->boardconf.clksrc = 0;
             break;
         }
         case J_tx_gain_lut: {