[chirp_devel] [PATCH] [UV-5R] Incorrect Variable Name
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1475110852 14400 # Node ID 4852c90698d9a9ece9ac9f010d848d066f2247fc # Parent 1f9ff67ec2cdfe4ba55cb98fb741be712f3ebaf6 [UV-5R] Incorrect Variable Name
While researching issue #4065, Tom Hayward noticed an incorrectly named variable. This patch corrects the misnamed variable.
diff -r 1f9ff67ec2cd -r 4852c90698d9 chirp/drivers/uv5r.py --- a/chirp/drivers/uv5r.py Tue Sep 20 19:34:00 2016 -0400 +++ b/chirp/drivers/uv5r.py Wed Sep 28 21:00:52 2016 -0400 @@ -822,7 +822,7 @@ mem.power = levels[_mem.lowpower] except IndexError: LOG.error("Radio reported invalid power level %s (in %s)" % - (_mem.power, levels)) + (_mem.lowpower, levels)) mem.power = levels[0]
mem.mode = _mem.wide and "FM" or "NFM"
participants (1)
-
Jim Unroe