mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 22:46:59 +00:00
Reduce the output buffer loading.
This commit is contained in:
parent
9b0fed975c
commit
e30eb3adaf
1 changed files with 3 additions and 1 deletions
4
FM.cpp
4
FM.cpp
|
|
@ -131,9 +131,11 @@ void CFM::process()
|
|||
return;
|
||||
|
||||
uint16_t space = io.getSpace();
|
||||
if (space == 0U)
|
||||
if (space < 3U)
|
||||
return;
|
||||
|
||||
space -= 2U;
|
||||
|
||||
if (space < length)
|
||||
length = space;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue