[chirp_devel] [PATCH 2 of 2] [VV-898] Add Leixen VV-898 (Jetstream JT270M clone). #1833
Tom Hayward
Sun Oct 19 21:26:28 PDT 2014
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1413778974 25200
# Sun Oct 19 21:22:54 2014 -0700
# Node ID 29a57e60ab5924583a2f01f0f5606365aa52d2ce
# Parent 542bf773bb96ecea6b8cc1a3d3abc0d2a9f9862d
[VV-898] Add Leixen VV-898 (Jetstream JT270M clone). #1833
diff -r 542bf773bb96 -r 29a57e60ab59 chirp/leixen.py
--- a/chirp/leixen.py Sat Oct 18 15:09:50 2014 -0700
+++ b/chirp/leixen.py Sun Oct 19 21:22:54 2014 -0700
@@ -165,10 +165,10 @@
@directory.register
-class JetstreamJT270MRadio(chirp_common.CloneModeRadio):
- """Jetstream JT270M"""
- VENDOR = "Jetstream"
- MODEL = "JT270M"
+class LeixenVV898Radio(chirp_common.CloneModeRadio):
+ """Leixen VV-898"""
+ VENDOR = "Leixen"
+ MODEL = "VV-898"
BAUD_RATE = 9600
_memsize = 0x2000
@@ -326,3 +326,10 @@
def match_model(cls, filedata, filename):
model = filedata[0x900:0x906]
return model == cls.MODEL
+
+
+ at directory.register
+class JetstreamJT270MRadio(LeixenVV898Radio):
+ """Jetstream JT270M"""
+ VENDOR = "Jetstream"
+ MODEL = "JT270M"
More information about the chirp_devel
mailing list