Change size of space in transmit routines.

This commit is contained in:
Jonathan Naylor
2017-03-06 20:36:44 +00:00
parent d89b68ff76
commit 8c970b26db
10 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -460,7 +460,7 @@ void CDStarTX::setTXDelay(uint8_t delay)
m_txDelay = 300U + uint16_t(delay) * 6U; // 250ms + tx delay
}
uint16_t CDStarTX::getSpace() const
uint8_t CDStarTX::getSpace() const
{
return m_buffer.getSpace() / (DSTAR_DATA_LENGTH_BYTES + 1U);
}