# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1357338166 28800 # Node ID 8aa4a6ceb520d12b48af469cebee442eaeeae067 # Parent 3ee0597a03ef71a53c154ea2046569f65386ea0a [thd72] Re-enable clone mode driver. #81
diff -r 3ee0597a03ef -r 8aa4a6ceb520 chirp/kenwood_live.py --- a/chirp/kenwood_live.py Fri Jan 04 00:49:35 2013 +0100 +++ b/chirp/kenwood_live.py Fri Jan 04 14:22:46 2013 -0800 @@ -891,7 +891,7 @@ @directory.register class THD72Radio(TMD710Radio): """Kenwood TH-D72""" - MODEL = "TH-D72" + MODEL = "TH-D72 (live mode)" HARDWARE_FLOW = sys.platform == "darwin" # only OS X driver needs hw flow
def _parse_mem_spec(self, spec): diff -r 3ee0597a03ef -r 8aa4a6ceb520 chirp/thd72.py --- a/chirp/thd72.py Fri Jan 04 00:49:35 2013 +0100 +++ b/chirp/thd72.py Fri Jan 04 14:22:46 2013 -0800 @@ -15,7 +15,7 @@
from chirp import chirp_common, errors, util, directory from chirp import bitwise, memmap -import time, struct +import time, struct, sys
DEBUG = True
@@ -162,11 +162,12 @@
# Uploads result in "MCP Error" and garbage data in memory # Clone driver disabled in favor of error-checking live driver. -#@directory.register +@directory.register class THD72Radio(chirp_common.CloneModeRadio): BAUD_RATE = 9600 VENDOR = "Kenwood" - MODEL = "TH-D72" + MODEL = "TH-D72 (clone mode)" + HARDWARE_FLOW = sys.platform == "darwin" # only OS X driver needs hw flow
mem_upper_limit = 1022 _memsize = 65536