Skip to content

Commit

Permalink
uvk5 driver to reference chirp_common ctcss/dtcs codes
Browse files Browse the repository at this point in the history
update uvk5 driver to reference chirp_common ctcss and dtcs codes instead of duplicating
  • Loading branch information
ei2081 authored and kk7ds committed Aug 20, 2024
1 parent bc64f9d commit 0311bb1
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions chirp/drivers/uvk5.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,30 +271,8 @@
TONE_DCS = 2
TONE_RDCS = 3


CTCSS_TONES = [
67.0, 69.3, 71.9, 74.4, 77.0, 79.7, 82.5, 85.4,
88.5, 91.5, 94.8, 97.4, 100.0, 103.5, 107.2, 110.9,
114.8, 118.8, 123.0, 127.3, 131.8, 136.5, 141.3, 146.2,
151.4, 156.7, 159.8, 162.2, 165.5, 167.9, 171.3, 173.8,
177.3, 179.9, 183.5, 186.2, 189.9, 192.8, 196.6, 199.5,
203.5, 206.5, 210.7, 218.1, 225.7, 229.1, 233.6, 241.8,
250.3, 254.1
]

# lifted from ft4.py
DTCS_CODES = [
23, 25, 26, 31, 32, 36, 43, 47, 51, 53, 54,
65, 71, 72, 73, 74, 114, 115, 116, 122, 125, 131,
132, 134, 143, 145, 152, 155, 156, 162, 165, 172, 174,
205, 212, 223, 225, 226, 243, 244, 245, 246, 251, 252,
255, 261, 263, 265, 266, 271, 274, 306, 311, 315, 325,
331, 332, 343, 346, 351, 356, 364, 365, 371, 411, 412,
413, 423, 431, 432, 445, 446, 452, 454, 455, 462, 464,
465, 466, 503, 506, 516, 523, 526, 532, 546, 565, 606,
612, 624, 627, 631, 632, 654, 662, 664, 703, 712, 723,
731, 732, 734, 743, 754
]
CTCSS_TONES = chirp_common.TONES
DTCS_CODES = chirp_common.DTCS_CODES

FLOCK_LIST = ["Off", "FCC", "CE", "GB", "430", "438"]

Expand Down

0 comments on commit 0311bb1

Please sign in to comment.