Repair a regression that disabled WSPR band hopping with Tx % eq 0

This commit is contained in:
Bill Somerville 2021-08-28 19:00:42 +01:00
parent 419ccc8dab
commit a886cee8b9
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 2 additions and 2 deletions

View File

@ -8129,9 +8129,9 @@ void MainWindow::WSPR_scheduling ()
return;
}
m_WSPR_tx_next = false;
if (!ui->sbTxPercent->isEnabled () || !ui->sbTxPercent->value ())
if (!ui->sbTxPercent->isEnabled ())
{
return; // don't schedule if %age disabled or zero
return; // don't schedule if %age disabled
}
if (m_config.is_transceiver_online () // need working rig control for hopping
&& !m_config.is_dummy_rig ()