mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2025-12-06 07:12:08 +01:00
Fix two compiler warnings about indentiation
This commit is contained in:
parent
0400ab4019
commit
97939376a3
|
|
@ -383,7 +383,7 @@ void CDStarTX::txHeader(const uint8_t* in, uint8_t* out) const
|
|||
if (i < 660U) {
|
||||
if (d & 0x08U)
|
||||
out[INTERLEAVE_TABLE_TX[i * 2U]] |= (0x01U << INTERLEAVE_TABLE_TX[i * 2U + 1U]);
|
||||
i++;
|
||||
i++;
|
||||
|
||||
if (d & 0x04U)
|
||||
out[INTERLEAVE_TABLE_TX[i * 2U]] |= (0x01U << INTERLEAVE_TABLE_TX[i * 2U + 1U]);
|
||||
|
|
|
|||
|
|
@ -798,9 +798,10 @@ void CSerialPort::process()
|
|||
|
||||
case MMDVM_POCSAG_DATA:
|
||||
if (m_pocsagEnable) {
|
||||
if (m_modemState == STATE_IDLE || m_modemState == STATE_POCSAG)
|
||||
if (m_modemState == STATE_IDLE || m_modemState == STATE_POCSAG) {
|
||||
m_pocsag_state = true;
|
||||
err = pocsagTX.writeData(m_buffer + 3U, m_len - 3U);
|
||||
}
|
||||
}
|
||||
if (err == 0U) {
|
||||
if (m_modemState == STATE_IDLE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue