From bb23bdc7b9af8132a5525454f7c42b9027c4d219 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sun, 11 Jan 2015 16:18:37 +0000 Subject: [PATCH] Accommodate new mode mnemonics from DX Labs with FlexRadio SDRs DX Lab Suite Commander now returns "DIGU" and "DIGL" for AFSK modes rather than RTTY & RTTY-R. Merged from wsjtx-1.4 branch. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4895 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- DXLabSuiteCommanderTransceiver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DXLabSuiteCommanderTransceiver.cpp b/DXLabSuiteCommanderTransceiver.cpp index f78ffd721..78bfda219 100644 --- a/DXLabSuiteCommanderTransceiver.cpp +++ b/DXLabSuiteCommanderTransceiver.cpp @@ -291,11 +291,11 @@ void DXLabSuiteCommanderTransceiver::poll () { m = FSK_R; } - else if ("PKT" == mode || "DATA-L" == mode || "Data-L" == mode) + else if ("PKT" == mode || "DATA-L" == mode || "Data-L" == mode || "DIGL" == mode) { m = DIG_L; } - else if ("PKT-R" == mode || "DATA-U" == mode || "Data-U" == mode) + else if ("PKT-R" == mode || "DATA-U" == mode || "Data-U" == mode || "DIGU" == mode) { m = DIG_U; } @@ -305,7 +305,7 @@ void DXLabSuiteCommanderTransceiver::poll () qDebug () << "DXLabSuiteCommanderTransceiver::poll: unexpected mode name" << mode; #endif - throw error {tr ("DX Lab Suite Commander sent an unrecognised mode: ") + mode}; + throw error {tr ("DX Lab Suite Commander sent an unrecognised mode: \"") + mode + '"'}; } update_mode (m); }