mirror of https://github.com/g4klx/MMDVM.git
Merge pull request #327 from shawnchain/fix_ax25_dac_overflow_error
This commit is contained in:
commit
031b078e76
|
@ -160,7 +160,7 @@ void CAX25TX::writeBit(bool b)
|
||||||
m_tablePtr += 11U;
|
m_tablePtr += 11U;
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer[i] = value;
|
buffer[i] = value >> 1;
|
||||||
|
|
||||||
if (m_tablePtr >= AUDIO_TABLE_LEN)
|
if (m_tablePtr >= AUDIO_TABLE_LEN)
|
||||||
m_tablePtr -= AUDIO_TABLE_LEN;
|
m_tablePtr -= AUDIO_TABLE_LEN;
|
||||||
|
|
Loading…
Reference in New Issue