From 82d2c1bd17cb10eb3d6e08385aae9198ab83b865 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 25 Nov 2008 17:23:12 +0530 Subject: Fix syntax error of sink() [add sps value] --- gssm/src/python/file_gssm.py | 2 +- gssm/src/python/gssm_stats.py | 2 +- gssm/src/python/gssm_usrp.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gssm') 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) -- cgit v1.2.3