# HG changeset patch # User Ran Katz rankatz@gmail.com # Date 1660469089 -10800 # Sun Aug 14 12:24:49 2022 +0300 # Node ID d0caf6c542c5cbe33cfb69e9edd978f4fdbad8e1 # Parent 0a7f0562b8c59ec96ee4f9724818694094a1f7c5 [TG-UV2+] adding missing log messages in set_settings()
diff --git a/chirp/drivers/tg_uv2p.py b/chirp/drivers/tg_uv2p.py --- a/chirp/drivers/tg_uv2p.py +++ b/chirp/drivers/tg_uv2p.py @@ -703,10 +703,13 @@ LOG.debug("using apply callback") element.run_apply_callback() elif setting == "beep_tone_disabled": + LOG.debug("Setting %s = %s" % (setting, not int(element.value))) setattr(obj, setting, not int(element.value)) elif setting == "busy_lockout": + LOG.debug("Setting %s = %s" % (setting, not int(element.value))) setattr(obj, setting, not int(element.value)) elif setting == "keyunlocked": + LOG.debug("Setting %s = %s" % (setting, not int(element.value))) setattr(obj, setting, not int(element.value)) elif element.value.get_mutable(): LOG.debug("Setting %s = %s" % (setting, element.value))