Skip to content

Commit

Permalink
Fix two compiler warnings about indentiation
Browse files Browse the repository at this point in the history
  • Loading branch information
phl0 committed Jul 8, 2018
1 parent 0400ab4 commit 9793937
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DStarTX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
3 changes: 2 additions & 1 deletion SerialPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9793937

Please sign in to comment.