Make the type correct for silence frames.

This commit is contained in:
Jonathan Naylor 2023-10-10 20:03:01 +01:00
parent 6b3a811ae7
commit ccf3b7301e
4 changed files with 4 additions and 4 deletions

View file

@ -166,7 +166,7 @@ void CYSFTX::writeByte(uint8_t c)
void CYSFTX::writeSilence()
{
q15_t inBuffer[4U] = {0x00U, 0x00U, 0x00U, 0x00U};
q15_t inBuffer[4U] = {0, 0, 0, 0};
q15_t outBuffer[YSF_RADIO_SYMBOL_LENGTH * 4U];
::arm_fir_interpolate_q15(&m_modFilter, inBuffer, outBuffer, 4U);