diff options
author | Josh Blum | 2010-04-14 12:31:19 -0700 |
---|---|---|
committer | Josh Blum | 2010-04-14 12:31:19 -0700 |
commit | ec7bdb4c93c8046b7d80bdad9b151c990946b181 (patch) | |
tree | 36a52210b5422a16cbfe8fbf33cacf39d89a13b1 /grc | |
parent | b89d6edb60a069215d02fb78614c9dbfb46b4899 (diff) | |
download | gnuradio-ec7bdb4c93c8046b7d80bdad9b151c990946b181.tar.gz gnuradio-ec7bdb4c93c8046b7d80bdad9b151c990946b181.tar.bz2 gnuradio-ec7bdb4c93c8046b7d80bdad9b151c990946b181.zip |
added to uhd grc files, also removed warning for grc generator with uhd blocks
Diffstat (limited to 'grc')
-rw-r--r-- | grc/python/Generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Generator.py b/grc/python/Generator.py index acd98ef84..d53802bef 100644 --- a/grc/python/Generator.py +++ b/grc/python/Generator.py @@ -58,7 +58,7 @@ class Generator(object): def write(self): #do throttle warning all_keys = ' '.join(map(lambda b: b.get_key(), self._flow_graph.get_enabled_blocks())) - if ('usrp' not in all_keys) and ('audio' not in all_keys) and ('throttle' not in all_keys) and self._generate_options != 'hb': + if ('usrp' not in all_keys) and ('uhd' not in all_keys) and ('audio' not in all_keys) and ('throttle' not in all_keys) and self._generate_options != 'hb': Messages.send_warning('''\ This flow graph may not have flow control: no audio or usrp blocks found. \ Add a Misc->Throttle block to your flow graph to avoid CPU congestion.''') |