summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-11-25 17:23:12 +0530
committerHarald Welte <laforge@gnumonks.org>2008-11-25 17:23:12 +0530
commit82d2c1bd17cb10eb3d6e08385aae9198ab83b865 (patch)
tree63727b4fd95b42421afc5ddf2e4011700a58d411
parent956203ad8df7b68af83ae94f7793a028c74113ee (diff)
Fix syntax error of sink() [add sps value]
-rwxr-xr-xgssm/src/python/file_gssm.py2
-rwxr-xr-xgssm/src/python/gssm_stats.py2
-rwxr-xr-xgssm/src/python/gssm_usrp.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/gssm/src/python/file_gssm.py b/gssm/src/python/file_gssm.py
index 47013f3..defff00 100755
--- a/gssm/src/python/file_gssm.py
+++ b/gssm/src/python/file_gssm.py
@@ -27,7 +27,7 @@ class gssm_graph(gr.flow_graph):
gr.flow_graph.__init__(self)
src = gr.file_source(gr.sizeof_gr_complex, fname)
- gs = gssm.sink()
+ gs = gssm.sink(sps)
self.connect(src, gs)
def main():
diff --git a/gssm/src/python/gssm_stats.py b/gssm/src/python/gssm_stats.py
index 43677d9..f68833b 100755
--- a/gssm/src/python/gssm_stats.py
+++ b/gssm/src/python/gssm_stats.py
@@ -63,7 +63,7 @@ class gssm_flow_graph(gr.flow_graph):
gr.firdes.WIN_HAMMING)
xf = gr.fir_filter_ccf(1, xt)
- self.gs = gs = gssm.sink()
+ self.gs = gs = gssm.sink(sps)
self.connect(u, xf, gs)
diff --git a/gssm/src/python/gssm_usrp.py b/gssm/src/python/gssm_usrp.py
index 6fe84c5..f8ea583 100755
--- a/gssm/src/python/gssm_usrp.py
+++ b/gssm/src/python/gssm_usrp.py
@@ -47,7 +47,7 @@ class gssm_flow_graph(gr.flow_graph):
gr.firdes.WIN_HAMMING)
xf = gr.fir_filter_ccf(1, xt)
- g = gssm.sink()
+ g = gssm.sink(sps)
self.connect(u, xf, g)
personal git repositories of Harald Welte. Your mileage may vary