Skip to content

Commit 7f66c94

Browse files
committed
Cleanup unused enable field.
1 parent 63062ed commit 7f66c94

File tree

17 files changed

+0
-33
lines changed

17 files changed

+0
-33
lines changed

chirpstack-concentratord-sx1302/src/config/vendor/dragino/pg1302.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
149149
RadioConfig {
150150
tx_min_max_freqs,
151151
tx_gain_table,
152-
enable: true,
153152
radio_type: hal::RadioType::SX1250,
154153
single_input_mode: true,
155154
rssi_offset: -215.4,
@@ -163,7 +162,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
163162
tx_enable: true,
164163
},
165164
RadioConfig {
166-
enable: true,
167165
radio_type: hal::RadioType::SX1250,
168166
single_input_mode: false,
169167
rssi_offset: -215.4,

chirpstack-concentratord-sx1302/src/config/vendor/embit/emb_lr1302_mpcie.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
171171
tx_min_max_freqs,
172172
rssi_offset,
173173
tx_gain_table,
174-
enable: true,
175174
radio_type: hal::RadioType::SX1250,
176175
single_input_mode: true,
177176
rssi_temp_compensation: hal::RssiTempCompensationConfig {
@@ -185,7 +184,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
185184
},
186185
RadioConfig {
187186
rssi_offset,
188-
enable: true,
189187
radio_type: hal::RadioType::SX1250,
190188
single_input_mode: false,
191189
rssi_temp_compensation: hal::RssiTempCompensationConfig {

chirpstack-concentratord-sx1302/src/config/vendor/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ pub struct Configuration {
3838

3939
#[derive(Clone)]
4040
pub struct RadioConfig {
41-
pub enable: bool,
4241
pub radio_type: hal::RadioType,
4342
pub single_input_mode: bool,
4443
pub rssi_offset: f32,

chirpstack-concentratord-sx1302/src/config/vendor/multitech/mtac_003e00.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
3535
radio_config: vec![
3636
RadioConfig {
3737
tx_min_max_freqs,
38-
enable: true,
3938
radio_type: hal::RadioType::SX1250,
4039
single_input_mode: true,
4140
rssi_offset: -215.4,
@@ -163,7 +162,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
163162
],
164163
},
165164
RadioConfig {
166-
enable: true,
167165
radio_type: hal::RadioType::SX1250,
168166
single_input_mode: false,
169167
rssi_offset: -215.4,

chirpstack-concentratord-sx1302/src/config/vendor/multitech/mtac_003u00.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
3535
radio_config: vec![
3636
RadioConfig {
3737
tx_min_max_freqs,
38-
enable: true,
3938
radio_type: hal::RadioType::SX1250,
4039
single_input_mode: true,
4140
rssi_offset: -215.4,
@@ -163,7 +162,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
163162
],
164163
},
165164
RadioConfig {
166-
enable: true,
167165
radio_type: hal::RadioType::SX1250,
168166
single_input_mode: false,
169167
rssi_offset: -215.4,

chirpstack-concentratord-sx1302/src/config/vendor/multitech/mtcap3_003e00.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
2323
radio_config: vec![
2424
RadioConfig {
2525
tx_min_max_freqs,
26-
enable: true,
2726
radio_type: hal::RadioType::SX1250,
2827
single_input_mode: true,
2928
rssi_offset: -215.4,
@@ -151,7 +150,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
151150
],
152151
},
153152
RadioConfig {
154-
enable: true,
155153
radio_type: hal::RadioType::SX1250,
156154
single_input_mode: false,
157155
rssi_offset: -215.4,

chirpstack-concentratord-sx1302/src/config/vendor/multitech/mtcap3_003u00.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
2323
radio_config: vec![
2424
RadioConfig {
2525
tx_min_max_freqs,
26-
enable: true,
2726
radio_type: hal::RadioType::SX1250,
2827
single_input_mode: true,
2928
rssi_offset: -215.4,
@@ -151,7 +150,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
151150
],
152151
},
153152
RadioConfig {
154-
enable: true,
155153
radio_type: hal::RadioType::SX1250,
156154
single_input_mode: false,
157155
rssi_offset: -215.4,

chirpstack-concentratord-sx1302/src/config/vendor/rak/rak2287.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
519519
tx_min_max_freqs,
520520
tx_gain_table,
521521
rssi_offset,
522-
enable: true,
523522
radio_type: hal::RadioType::SX1250,
524523
single_input_mode: true,
525524
rssi_temp_compensation: hal::RssiTempCompensationConfig {
@@ -533,7 +532,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
533532
},
534533
RadioConfig {
535534
rssi_offset,
536-
enable: true,
537535
radio_type: hal::RadioType::SX1250,
538536
single_input_mode: false,
539537
rssi_temp_compensation: hal::RssiTempCompensationConfig {

chirpstack-concentratord-sx1302/src/config/vendor/rak/rak5146.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
413413
tx_min_max_freqs,
414414
tx_gain_table,
415415
rssi_offset,
416-
enable: true,
417416
radio_type: hal::RadioType::SX1250,
418417
single_input_mode: false,
419418
rssi_temp_compensation: hal::RssiTempCompensationConfig {
@@ -427,7 +426,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
427426
},
428427
RadioConfig {
429428
rssi_offset,
430-
enable: true,
431429
radio_type: hal::RadioType::SX1250,
432430
single_input_mode: false,
433431
rssi_temp_compensation: hal::RssiTempCompensationConfig {

chirpstack-concentratord-sx1302/src/config/vendor/seeed/wm1302.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
182182
tx_gain_table,
183183
tx_min_max_freqs,
184184
rssi_offset,
185-
enable: true,
186185
radio_type: hal::RadioType::SX1250,
187186
single_input_mode: true,
188187
rssi_temp_compensation: hal::RssiTempCompensationConfig {
@@ -196,7 +195,6 @@ pub fn new(conf: &config::Configuration) -> Result<Configuration> {
196195
},
197196
RadioConfig {
198197
rssi_offset,
199-
enable: true,
200198
radio_type: hal::RadioType::SX1250,
201199
single_input_mode: false,
202200
rssi_temp_compensation: hal::RssiTempCompensationConfig {

0 commit comments

Comments
 (0)