[chirp_devel] [PATCH] [UV-B5] 'STE' and 'BEEP' Settings are not Uploaded to Radio Properly
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1411227019 14400 # Node ID c7ecf809ed55d41606681c8875b3e6ef45ea05bc # Parent 60816c0e5103d3c817d52cc946125fdfa5367a47 [UV-B5] 'STE' and 'BEEP' Settings are not Uploaded to Radio Properly
This patch fixes the problem with the "STE" and "Beep Prompt" settings.
Bug #1917
diff -r 60816c0e5103 -r c7ecf809ed55 chirp/uvb5.py --- a/chirp/uvb5.py Thu Sep 04 22:01:51 2014 -0400 +++ b/chirp/uvb5.py Sat Sep 20 11:30:19 2014 -0400 @@ -739,13 +739,9 @@ print "Using apply callback" element.run_apply_callback() elif setting == "beep_tone_disabled": - val = not _settings.beep_tone_disabled - print "Setting %s = %s" % (setting, val) - setattr(obj, setting, val) + setattr(obj, setting, not int(element.value)) elif setting == "ste_disabled": - val = not _settings.ste_disabled - print "Setting %s = %s" % (setting, val) - setattr(obj, setting, val) + setattr(obj, setting, not int(element.value)) else: print "Setting %s = %s" % (setting, element.value) setattr(obj, setting, element.value)
participants (1)
-
Jim Unroe