mirror of https://github.com/g4klx/MMDVM.git
Slight tweak to the mark and space.
This commit is contained in:
parent
43f84ae968
commit
52a351d0f1
|
@ -142,11 +142,11 @@ void CAX25TX::writeBit(bool b)
|
||||||
q15_t value = AUDIO_TABLE_DATA[m_tablePtr];
|
q15_t value = AUDIO_TABLE_DATA[m_tablePtr];
|
||||||
|
|
||||||
if (b) {
|
if (b) {
|
||||||
m_tablePtr += 11U;
|
|
||||||
} else {
|
|
||||||
// De-emphasise the lower frequency by 6dB
|
// De-emphasise the lower frequency by 6dB
|
||||||
value >>= 2;
|
value >>= 2;
|
||||||
m_tablePtr += 6U;
|
m_tablePtr += 6U;
|
||||||
|
} else {
|
||||||
|
m_tablePtr += 11U;
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer[i] = value;
|
buffer[i] = value;
|
||||||
|
|
Loading…
Reference in New Issue