Add independent transmit levels.

This commit is contained in:
Jonathan Naylor 2016-08-09 07:11:10 +01:00
parent 8c96a48b2b
commit 62743345a4
7 changed files with 44 additions and 19 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(TONE, CYCLE_LENGTH);
io.write(STATE_DSTAR, TONE, CYCLE_LENGTH);
else
io.write(SILENCE, CYCLE_LENGTH);
io.write(STATE_DSTAR, SILENCE, CYCLE_LENGTH);
space -= CYCLE_LENGTH;