# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1357338125 28800 # Node ID 72da328fb517938b7475bd8d38ad9afaaae358d5 # Parent 3ee0597a03ef71a53c154ea2046569f65386ea0a [thd72] Re-enable clone mode driver as experimental. #81
diff -r 3ee0597a03ef -r 72da328fb517 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:05 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 72da328fb517 chirp/thd72.py --- a/chirp/thd72.py Fri Jan 04 00:49:35 2013 +0100 +++ b/chirp/thd72.py Fri Jan 04 14:22:05 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