From 3e8c3125da6234c4d1f8c0eaf869bc86923cb292 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 27 Sep 2011 17:13:05 -0400 Subject: digital: fixed differential/non-differential. Defaults to differential now, too. --- gr-digital/python/generic_mod_demod.py | 12 ++++++------ 1 file 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]" -- cgit