[chirp_devel] [PATCH] FT-818ND US Model - I think this patch may work, I can't test. Bug# 6289

Vinny Stipo
Wed Dec 12 17:22:32 PST 2018


I make a mistake, I think I needed to include rest of FT817ND US class, as
I'm not inheriting it. See attached patch.

-Vinny

On Wed, Dec 12, 2018 at 4:52 PM Vinny Stipo <v at xpctech.com> wrote:

> # HG changeset patch
> # User Vinny Stipo <v at xpctech.com>
> # Date 1544661860 28800
> #      Wed Dec 12 16:44:20 2018 -0800
> # Node ID df70e2455c4877c9d58f440690e6161da16c880e
> # Parent  62b4cbefa86738c37317a133f903500f669baf23
> FT-818ND US Model - I think this patch may work, I can't test. Bug# 6289
>
> diff --git a/chirp/drivers/ft818.py b/chirp/drivers/ft818.py
> --- a/chirp/drivers/ft818.py
> +++ b/chirp/drivers/ft818.py
> @@ -250,3 +250,16 @@
>
>      SPECIAL_MEMORIES_REV = dict(zip(SPECIAL_MEMORIES.values(),
>                                      SPECIAL_MEMORIES.keys()))
> +
> + at directory.register
> +class FT818NDUSRadio(FT818Radio):
> +
> +    """Yaesu FT-818ND (US version)"""
> +    MODEL = "FT-818ND (US)"
> +
> +    _model = ""
> +    _US_model = True
> +    _memsize = 6703
> +
> +    _block_lengths = [2, 40, 208, 208, 208, 208, 198, 53, 130, 118, 130,
> 130]
> +
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20181212/1b90a4a0/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FT818ND.US.MODEL.PATCH.3
Type: application/octet-stream
Size: 3843 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20181212/1b90a4a0/attachment-0001.obj 


More information about the chirp_devel mailing list