Slight tweak to the mark and space.

This commit is contained in:
Jonathan Naylor 2020-06-29 16:11:56 +01:00
parent 43f84ae968
commit 52a351d0f1
1 changed files with 2 additions and 2 deletions

View File

@ -142,11 +142,11 @@ void CAX25TX::writeBit(bool b)
q15_t value = AUDIO_TABLE_DATA[m_tablePtr];
if (b) {
m_tablePtr += 11U;
} else {
// De-emphasise the lower frequency by 6dB
value >>= 2;
m_tablePtr += 6U;
} else {
m_tablePtr += 11U;
}
buffer[i] = value;