[chirp_devel] [PATCH] [H777] Add Alias for Retevis H777

Jim Unroe
Thu Nov 19 12:50:11 PST 2020


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1605818908 18000
#      Thu Nov 19 15:48:28 2020 -0500
# Node ID fc5a003877d69c859aced7a15963bfb9e0297115
# Parent  d85fee6c62662ec28c675ee8128a5758d8f39eda
[H777] Add Alias for Retevis H777

This patch add an alias for the Retevis H777

#8451

diff -r d85fee6c6266 -r fc5a003877d6 chirp/drivers/h777.py
--- a/chirp/drivers/h777.py	Wed Nov 04 21:21:54 2020 -0500
+++ b/chirp/drivers/h777.py	Thu Nov 19 15:48:28 2020 -0500
@@ -271,6 +271,11 @@
     MODEL = 'TW-325'
 
 
+class RetevisH777Alias(chirp_common.Alias):
+    VENDOR = 'Retevis'
+    MODEL = 'H777'
+
+
 @directory.register
 class H777Radio(chirp_common.CloneModeRadio):
     """HST H-777"""
@@ -281,7 +286,7 @@
     BAUD_RATE = 9600
 
     ALIASES = [ArcshellAR5, ArcshellAR6, GV8SAlias, GV9SAlias, A8SAlias,
-               TenwayTW325Alias]
+               TenwayTW325Alias, RetevisH777Alias]
     SIDEKEYFUNCTION_LIST = ["Off", "Monitor", "Transmit Power", "Alarm"]
 
     # This code currently requires that ranges start at 0x0000



More information about the chirp_devel mailing list