diff options
author | Tom Rondeau | 2011-09-27 17:13:05 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-09-27 17:13:05 -0400 |
commit | 3e8c3125da6234c4d1f8c0eaf869bc86923cb292 (patch) | |
tree | ea2486900b98a6959ed0b2063ee1371dd21fea4d /gr-digital/python | |
parent | 199487167956a6149d1a895397b72d2525b39742 (diff) | |
download | gnuradio-3e8c3125da6234c4d1f8c0eaf869bc86923cb292.tar.gz gnuradio-3e8c3125da6234c4d1f8c0eaf869bc86923cb292.tar.bz2 gnuradio-3e8c3125da6234c4d1f8c0eaf869bc86923cb292.zip |
digital: fixed differential/non-differential. Defaults to differential now, too.
Diffstat (limited to 'gr-digital/python')
-rw-r--r-- | gr-digital/python/generic_mod_demod.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-digital/python/generic_mod_demod.py b/gr-digital/python/generic_mod_demod.py index 7d98c87da..dc69fc0b5 100644 --- a/gr-digital/python/generic_mod_demod.py +++ b/gr-digital/python/generic_mod_demod.py @@ -55,12 +55,12 @@ def add_common_options(parser): """ parser.add_option("-p", "--constellation-points", type="int", default=_def_constellation_points, help="set the number of constellation points (must be a power of 2 for psk, power of 4 for QAM) [default=%default]") - parser.add_option("", "--non-differential", action="store_true", - dest="differential", default=False, - help="do not use differential encoding [default=%default]") - parser.add_option("", "--differential", action="store_false", - dest="differential", - help="use differential encoding [default=False]") + parser.add_option("", "--non-differential", action="store_false", + dest="differential", + help="do not use differential encoding [default=False]") + parser.add_option("", "--differential", action="store_true", + dest="differential", default=True, + help="use differential encoding [default=%default]") parser.add_option("", "--mod-code", type="choice", choices=mod_codes.codes, default=mod_codes.NO_CODE, help="Select modulation code from: %s [default=%%default]" |