aboutsummaryrefslogtreecommitdiffstats
path: root/apps/osmocom_siggen
diff options
context:
space:
mode:
Diffstat (limited to 'apps/osmocom_siggen')
-rwxr-xr-xapps/osmocom_siggen3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/osmocom_siggen b/apps/osmocom_siggen
index 3724c5b..78b0aee 100755
--- a/apps/osmocom_siggen
+++ b/apps/osmocom_siggen
@@ -21,6 +21,7 @@
#
from gnuradio import gr
+from gnuradio import analog
from gnuradio.gr.pubsub import pubsub
from osmosdr import osmocom_siggen_base as osmocom_siggen
import sys, math
@@ -63,7 +64,7 @@ class app_gui(pubsub):
self.vbox.AddStretchSpacer()
#callback to show/hide forms
def set_type(type):
- sine_bb_hbox.ShowItems(type == gr.GR_SIN_WAVE)
+ sine_bb_hbox.ShowItems(type == analog.GR_SIN_WAVE)
sweep_bb_hbox.ShowItems(type == 'sweep')
tone_bb_hbox.ShowItems(type == '2tone')
self.vbox.Layout()