Move call to tx scheduler per Bill's instructions.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5539 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke
2015-06-05 15:36:29 +00:00
parent ba0a5838c2
commit 7cb711779e
2 changed files with 5 additions and 2 deletions
+4
View File
@@ -22,6 +22,7 @@ extern "C"
, int * ntxnext, int my_grid_len);
#endif
};
extern int next_tx_state(int pctx);
namespace
{
@@ -265,6 +266,9 @@ auto WSPRBandHopping::next_hop () -> Hop
, &m_->gray_line_duration_, &m_->tx_percent_, &period_index, &band_index
, &tx_next, my_grid.size ());
// consult scheduler to determine if next period should be a tx interval
tx_next = next_tx_state(m_->tx_percent_);
if (100 == m_->tx_percent_)
{
tx_next = 1;