Remove the delay when using COS.

This commit is contained in:
Jonathan Naylor
2020-05-10 17:13:10 +01:00
parent da16ee277c
commit 3ad443dc2a
5 changed files with 12 additions and 15 deletions
+1 -2
View File
@@ -82,7 +82,7 @@ void CNXDNTX::process()
m_poBuffer[m_poLen++] = NXDN_PREAMBLE[2U];
} else {
for (uint8_t i = 0U; i < NXDN_FRAME_LENGTH_BYTES; i++) {
uint8_t c;
uint8_t c = 0U;
m_buffer.get(c);
m_poBuffer[m_poLen++] = c;
}
@@ -168,4 +168,3 @@ uint8_t CNXDNTX::getSpace() const
{
return m_buffer.getSpace() / NXDN_FRAME_LENGTH_BYTES;
}