mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-17 21:29:16 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user