qpopped directly over the previous patch without an issue, so in theory this should work too...
###
# HG changeset patch # User Brian Dickman brian.maybe@gmail.com # Date 1473038809 25200 # Sun Sep 04 18:26:49 2016 -0700 # Node ID 7d8c6b96f9866b7bdecf4fd2c2445d8dbe37c2ac # Parent 15ed52b0a98e77f51c25e0d161c8d8e376fa2307 [leixen] [patch 2 of 2] Adds new model, Leixen VV-898S (tri-power 25W)
Also adds alias for VV-898E. Resolves #3889, #3327, #3065.
diff -r 15ed52b0a98e -r 7d8c6b96f986 chirp/drivers/leixen.py --- a/chirp/drivers/leixen.py Sun Sep 04 18:19:44 2016 -0700 +++ b/chirp/drivers/leixen.py Sun Sep 04 18:26:49 2016 -0700 @@ -949,3 +949,24 @@
_file_ident = "JET" _model_ident = 'LX-\x89\x85\x53' + + +class VV898E(chirp_common.Alias): + '''Leixen has called this radio both 898E and S historically, ident is identical''' + VENDOR = "Leixen" + MODEL = "VV-898E" + + +@directory.register +class LeixenVV898SRadio(LeixenVV898Radio): + """Leixen VV-898S, also VV-898E which is identical""" + VENDOR = "Leixen" + MODEL = "VV-898S" + ALIASES = [VV898E, ] + + _model_ident = 'LX-\x89\x85\x75' + _mem_formatter = {'unknownormode': 'mode:1', + 'modeorpower': 'power:2'} + _power_levels = [chirp_common.PowerLevel("Low", watts=5), + chirp_common.PowerLevel("Med", watts=10), + chirp_common.PowerLevel("High", watts=25)]