Reduce the output buffer loading.

This commit is contained in:
Jonathan Naylor 2020-05-08 17:18:26 +01:00
parent 9b0fed975c
commit e30eb3adaf
1 changed files with 3 additions and 1 deletions

4
FM.cpp
View File

@ -131,9 +131,11 @@ void CFM::process()
return; return;
uint16_t space = io.getSpace(); uint16_t space = io.getSpace();
if (space == 0U) if (space < 3U)
return; return;
space -= 2U;
if (space < length) if (space < length)
length = space; length = space;