Skip to content

Commit 1b56a82

Browse files
committedJan 6, 2023
Regenerate flow graphs
1 parent a700dbd commit 1b56a82

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed
 

‎secplus_tx.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
# GNU Radio Python Flow Graph
88
# Title: Secplus Tx
9-
# GNU Radio version: 3.9.3.0
9+
# GNU Radio version: 3.10.5.0
1010

1111
from gnuradio import analog
1212
from gnuradio import blocks
@@ -53,7 +53,7 @@ def __init__(self, fixed=1234567890, freq=315150000, rolling=1234567890):
5353
)
5454
self.osmosdr_sink_0.set_time_unknown_pps(osmosdr.time_spec_t())
5555
self.osmosdr_sink_0.set_sample_rate(samp_rate)
56-
self.osmosdr_sink_0.set_center_freq(freq - 300e3, 0)
56+
self.osmosdr_sink_0.set_center_freq((freq - 300e3), 0)
5757
self.osmosdr_sink_0.set_freq_corr(0, 0)
5858
self.osmosdr_sink_0.set_gain(0, 0)
5959
self.osmosdr_sink_0.set_if_gain(47, 0)
@@ -66,7 +66,6 @@ def __init__(self, fixed=1234567890, freq=315150000, rolling=1234567890):
6666
self.analog_sig_source_x_0 = analog.sig_source_c(samp_rate, analog.GR_COS_WAVE, 300e3, 0.9, 0, 0)
6767

6868

69-
7069
##################################################
7170
# Connections
7271
##################################################
@@ -89,7 +88,7 @@ def get_freq(self):
8988

9089
def set_freq(self, freq):
9190
self.freq = freq
92-
self.osmosdr_sink_0.set_center_freq(self.freq - 300e3, 0)
91+
self.osmosdr_sink_0.set_center_freq((self.freq - 300e3), 0)
9392

9493
def get_rolling(self):
9594
return self.rolling

‎secplus_v2_tx.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
# GNU Radio Python Flow Graph
88
# Title: Secplus V2 Tx
9-
# GNU Radio version: 3.9.3.0
9+
# GNU Radio version: 3.10.5.0
1010

1111
from gnuradio import analog
1212
from gnuradio import blocks
@@ -53,7 +53,7 @@ def __init__(self, fixed=1234567890, freq=315000000, rolling=123456789):
5353
)
5454
self.osmosdr_sink_0.set_time_unknown_pps(osmosdr.time_spec_t())
5555
self.osmosdr_sink_0.set_sample_rate(samp_rate)
56-
self.osmosdr_sink_0.set_center_freq(freq - 300e3, 0)
56+
self.osmosdr_sink_0.set_center_freq((freq - 300e3), 0)
5757
self.osmosdr_sink_0.set_freq_corr(0, 0)
5858
self.osmosdr_sink_0.set_gain(0, 0)
5959
self.osmosdr_sink_0.set_if_gain(47, 0)
@@ -66,7 +66,6 @@ def __init__(self, fixed=1234567890, freq=315000000, rolling=123456789):
6666
self.analog_sig_source_x_0 = analog.sig_source_c(samp_rate, analog.GR_COS_WAVE, 300e3, 0.9, 0, 0)
6767

6868

69-
7069
##################################################
7170
# Connections
7271
##################################################
@@ -89,7 +88,7 @@ def get_freq(self):
8988

9089
def set_freq(self, freq):
9190
self.freq = freq
92-
self.osmosdr_sink_0.set_center_freq(self.freq - 300e3, 0)
91+
self.osmosdr_sink_0.set_center_freq((self.freq - 300e3), 0)
9392

9493
def get_rolling(self):
9594
return self.rolling

0 commit comments

Comments
 (0)
Please sign in to comment.