Skip to content

Commit 3bd0f97

Browse files
author
Kimmo Vaisanen
committed
Fix initialization of phy_params.payloads_with_repeater.size
1 parent 79bd263 commit 3bd0f97

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

features/lorawan/lorastack/phy/LoRaPHYAS923.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ LoRaPHYAS923::LoRaPHYAS923(LoRaWANTimeHandler &lora_time)
280280
phy_params.payloads.table = (void *) max_payload_table;
281281
phy_params.payloads.size = 8;
282282
phy_params.payloads_with_repeater.table = (void *) max_payload_table_with_repeater;
283-
phy_params.payloads.size = 8;
283+
phy_params.payloads_with_repeater.size = 8;
284284

285285
// dwell time setting, 400 ms
286286
phy_params.ul_dwell_time_setting = 1;

features/lorawan/lorastack/phy/LoRaPHYAU915.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ LoRaPHYAU915::LoRaPHYAU915(LoRaWANTimeHandler &lora_time)
279279
phy_params.payloads.table = (void *) max_payload_AU915;
280280
phy_params.payloads.size = 16;
281281
phy_params.payloads_with_repeater.table = (void *) max_payload_with_repeater_AU915;
282-
phy_params.payloads.size = 16;
282+
phy_params.payloads_with_repeater.size = 16;
283283

284284
// dwell time setting
285285
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYCN470.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ LoRaPHYCN470::LoRaPHYCN470(LoRaWANTimeHandler &lora_time)
252252
phy_params.payloads.table = (void *) max_payloads_CN470;
253253
phy_params.payloads.size = 6;
254254
phy_params.payloads_with_repeater.table = (void *)max_payloads_with_repeater_CN470;
255-
phy_params.payloads.size = 6;
255+
phy_params.payloads_with_repeater.size = 6;
256256

257257
// dwell time setting
258258
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYCN779.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ LoRaPHYCN779::LoRaPHYCN779(LoRaWANTimeHandler &lora_time)
268268
phy_params.payloads.table = (void *) max_payloads_CN779;
269269
phy_params.payloads.size = 8;
270270
phy_params.payloads_with_repeater.table = (void *) max_payloads_with_repeater_CN779;
271-
phy_params.payloads.size = 8;
271+
phy_params.payloads_with_repeater.size = 8;
272272

273273
// dwell time setting
274274
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYEU433.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ LoRaPHYEU433::LoRaPHYEU433(LoRaWANTimeHandler &lora_time)
269269
phy_params.payloads.table = (void *) max_payloads_EU433;
270270
phy_params.payloads.size = 8;
271271
phy_params.payloads_with_repeater.table = (void *) max_payloads_with_repeater_EU433;
272-
phy_params.payloads.size = 8;
272+
phy_params.payloads_with_repeater.size = 8;
273273

274274
// dwell time setting
275275
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYEU868.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ LoRaPHYEU868::LoRaPHYEU868(LoRaWANTimeHandler &lora_time)
299299
phy_params.payloads.table = (void *) max_payloads_EU868;
300300
phy_params.payloads.size = 8;
301301
phy_params.payloads_with_repeater.table = (void *) max_payloads_repeater_EU868;
302-
phy_params.payloads.size = 8;
302+
phy_params.payloads_with_repeater.size = 8;
303303

304304
// dwell time setting
305305
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYIN865.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ LoRaPHYIN865::LoRaPHYIN865(LoRaWANTimeHandler &lora_time)
270270
phy_params.payloads.table = (void *) max_payloads_IN865;
271271
phy_params.payloads.size = 8;
272272
phy_params.payloads_with_repeater.table = (void *) max_payloads_with_repeater;
273-
phy_params.payloads.size = 8;
273+
phy_params.payloads_with_repeater.size = 8;
274274

275275
// dwell time setting
276276
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYKR920.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ LoRaPHYKR920::LoRaPHYKR920(LoRaWANTimeHandler &lora_time)
279279
phy_params.payloads.table = (void *) max_payloads_KR920;
280280
phy_params.payloads.size = 6;
281281
phy_params.payloads_with_repeater.table = (void *) max_payloads_with_repeater_KR920;
282-
phy_params.payloads.size = 6;
282+
phy_params.payloads_with_repeater.size = 6;
283283

284284
// dwell time setting
285285
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYUS915.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ LoRaPHYUS915::LoRaPHYUS915(LoRaWANTimeHandler &lora_time)
271271
phy_params.payloads.table = (void *) max_payloads_US915;
272272
phy_params.payloads.size = 16;
273273
phy_params.payloads_with_repeater.table = (void *) max_payloads_with_repeater_US915;
274-
phy_params.payloads.size = 16;
274+
phy_params.payloads_with_repeater.size = 16;
275275

276276
// dwell time setting
277277
phy_params.ul_dwell_time_setting = 0;

features/lorawan/lorastack/phy/LoRaPHYUS915Hybrid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ LoRaPHYUS915Hybrid::LoRaPHYUS915Hybrid(LoRaWANTimeHandler &lora_time)
269269
phy_params.payloads.table = (void *) max_payloads_US915_HYBRID;
270270
phy_params.payloads.size = 16;
271271
phy_params.payloads_with_repeater.table = (void *) max_payloads_with_repeater_US915_HYBRID;
272-
phy_params.payloads.size = 16;
272+
phy_params.payloads_with_repeater.size = 16;
273273

274274
// dwell time setting
275275
phy_params.ul_dwell_time_setting = 0;

0 commit comments

Comments
 (0)