[chirp_devel] [PATCH 2 of 3] [KT8900] Add support for 3 new variants of this radios,

Dan Smith
Thu May 12 20:03:01 PDT 2016


> diff -r 906ba819a626 -r 42b1f1065bbd chirp/drivers/btech.py
> --- a/chirp/drivers/btech.py    Fri May 06 14:43:39 2016 -0400
> +++ b/chirp/drivers/btech.py    Wed May 11 23:08:42 2016 -0400
> @@ -291,6 +291,10 @@
> 
>   # QYT KT8900 & Juentai JT-6188
>   KT8900_fp = "M29154"
> +# New generations KT8900
> +KT8900_fp1 = "M2C234"
> +KT8900_fp2 = "M2G1F4"
> +KT8900_fp3 = "M2G2F4"
>   # this radio has an extra ID
>   KT8900_id = "      303688"

Indentation does not look correct here.

> 
> @@ -1599,7 +1603,7 @@
>       _vhf_range = (136000000, 175000000)
>       _uhf_range = (400000000, 481000000)
>       _magic = MSTRING_KT8900
> -    _fileid = [KT8900_fp, ]
> +    _fileid = [KT8900_fp, KT8900_fp1, KT8900_fp2, KT8900_fp3]
>       _id2 = KT8900_id

Nor here.

--Dan



More information about the chirp_devel mailing list