[chirp_devel] [PATCH] [kenwood_live] Support for all freq steps in 271/281 Fixes #795

Dan Smith
Wed Apr 8 19:30:09 PDT 2015


> # HG changeset patch
> # User Ryan Tourge K2RRT <ryan.tourge at gmail.com>x
> # Date 1428543111 14400
> #      Wed Apr 08 21:31:51 2015 -0400
> # Node ID 4deac6b0c64a5f5923b3d2eb2b5c3136b11fd4bf
> # Parent  e5c23688bffb6c04a7fd45be201db5ae481a804f
> [kenwood_live] Support for all freq steps in 271/281 Fixes #795
> 
> diff -r e5c23688bffb -r 4deac6b0c64a chirp/drivers/kenwood_live.py
> --- a/chirp/drivers/kenwood_live.py	Tue Apr 07 21:26:17 2015 -0400
> +++ b/chirp/drivers/kenwood_live.py	Wed Apr 08 21:31:51 2015 -0400
> @@ -1260,6 +1260,7 @@
>          return spec
>  
>  
> +TM271_STEPS = [2.5, 5.0, 6.25, 10.0, 12.5, 15.0, 20.0, 25.0, 30.0, 50.0, 100.0]
>  @directory.register

This doesn't pass PEP8 because:

  ./chirp/drivers/kenwood_live.py:1264:1: E302 expected 2 blank lines,
found 0

I fixed it up for you in a follow-up patch. Running ./run_all_tests.sh
in the tree before you submit will find such things for you.

Thanks a lot for picking this up Ryan!

--Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20150408/07d6adf1/attachment-0001.bin 


More information about the chirp_devel mailing list