[chirp_devel] [PATCH] thd72: only use hardware flow on OS X. Fixes #166
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1336579505 21600 # Node ID 24cb2e48098df646010797cdd3e4664f6b6513c5 # Parent d7b8e3c0d043e4b0450f424c90e798fc3398bef5 thd72: only use hardware flow on OS X. Fixes #166
diff -r d7b8e3c0d043 -r 24cb2e48098d chirp/kenwood_live.py --- a/chirp/kenwood_live.py Tue May 08 19:57:19 2012 -0700 +++ b/chirp/kenwood_live.py Wed May 09 10:05:05 2012 -0600 @@ -15,6 +15,7 @@
import threading import os +import sys import time
NOCACHE = os.environ.has_key("CHIRP_NOCACHE") @@ -881,7 +882,7 @@ class THD72Radio(TMD710Radio): """Kenwood TH-D72""" MODEL = "TH-D72" - HARDWARE_FLOW = True + HARDWARE_FLOW = sys.platform == "darwin" # only OS X driver needs hw flow
def _parse_mem_spec(self, spec): mem = chirp_common.Memory()
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1336579505 21600 # Node ID 24cb2e48098df646010797cdd3e4664f6b6513c5 # Parent d7b8e3c0d043e4b0450f424c90e798fc3398bef5 thd72: only use hardware flow on OS X. Fixes #166
Applied to stable and default.
Thanks!
participants (2)
-
Dan Smith
-
Tom Hayward