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
This commit is contained in:
Bill Somerville 2015-01-11 16:18:37 +00:00
parent 498d4af7a9
commit bb23bdc7b9

View File

@ -291,11 +291,11 @@ void DXLabSuiteCommanderTransceiver::poll ()
{ {
m = FSK_R; 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; 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; m = DIG_U;
} }
@ -305,7 +305,7 @@ void DXLabSuiteCommanderTransceiver::poll ()
qDebug () << "DXLabSuiteCommanderTransceiver::poll: unexpected mode name" << mode; qDebug () << "DXLabSuiteCommanderTransceiver::poll: unexpected mode name" << mode;
#endif #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); update_mode (m);
} }