mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-08 03:33:52 -04:00
Several rig control enhancements and fixes
Use the new DX Lab Suite Commander command option to stop Commander trying to change the rig Tx VFO mode when we don't want to. Requires a recent DX Lab Suite Commander version. All rig controllers can now detect 20Hz resolution rigs, still needs 2Hz resolution code which will be needed for the FT-891 AFAIK. Enhance the HRD interface to be able to use the alternative PTT command as found on most Kenwood rigs for audio source selection. Fix Icom data mode selection issues. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7357 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+13
-3
@@ -711,7 +711,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
|
||||
QStringList jt9_args {
|
||||
"-s", QApplication::applicationName () // shared memory key,
|
||||
// includes rig-name
|
||||
// includes rig
|
||||
#ifdef NDEBUG
|
||||
, "-w", "1" //FFTW patience - release
|
||||
#else
|
||||
@@ -5728,21 +5728,31 @@ void MainWindow::astroUpdate ()
|
||||
&& m_config.split_mode ())
|
||||
{
|
||||
// adjust for rig resolution
|
||||
if (m_config.transceiver_resolution () > 1)
|
||||
if (m_config.transceiver_resolution () > 2)
|
||||
{
|
||||
correction.rx = (correction.rx + 50) / 100 * 100;
|
||||
correction.tx = (correction.tx + 50) / 100 * 100;
|
||||
}
|
||||
else if (m_config.transceiver_resolution () > 1)
|
||||
{
|
||||
correction.rx = (correction.rx + 10) / 20 * 20;
|
||||
correction.tx = (correction.tx + 10) / 20 * 20;
|
||||
}
|
||||
else if (m_config.transceiver_resolution () > 0)
|
||||
{
|
||||
correction.rx = (correction.rx + 5) / 10 * 10;
|
||||
correction.tx = (correction.tx + 5) / 10 * 10;
|
||||
}
|
||||
else if (m_config.transceiver_resolution () < -1)
|
||||
else if (m_config.transceiver_resolution () < -2)
|
||||
{
|
||||
correction.rx = correction.rx / 100 * 100;
|
||||
correction.tx = correction.tx / 100 * 100;
|
||||
}
|
||||
else if (m_config.transceiver_resolution () < -1)
|
||||
{
|
||||
correction.rx = correction.rx / 20 * 20;
|
||||
correction.tx = correction.tx / 20 * 20;
|
||||
}
|
||||
else if (m_config.transceiver_resolution () < 0)
|
||||
{
|
||||
correction.rx = correction.rx / 10 * 10;
|
||||
|
||||
Reference in New Issue
Block a user