Fix two compiler warnings about indentiation

This commit is contained in:
phl0 2018-07-08 11:37:07 +02:00
parent 0400ab4019
commit 97939376a3
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
2 changed files with 3 additions and 2 deletions

View file

@ -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]);

View file

@ -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)