Allow for adjustable CW Id levels.

This commit is contained in:
Jonathan Naylor 2016-10-10 17:35:33 +01:00
parent 1e0634c0b1
commit 3ef9e40137
6 changed files with 17 additions and 7 deletions

View file

@ -104,9 +104,9 @@ void CCWIdTX::process()
while (space > CYCLE_LENGTH) {
bool b = READ_BIT1(m_poBuffer, m_poPtr);
if (b)
io.write(STATE_DSTAR, TONE, CYCLE_LENGTH);
io.write(STATE_CWID, TONE, CYCLE_LENGTH);
else
io.write(STATE_DSTAR, SILENCE, CYCLE_LENGTH);
io.write(STATE_CWID, SILENCE, CYCLE_LENGTH);
space -= CYCLE_LENGTH;