mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Tx buffer availability hack to handle slow devices
This commit is contained in:
parent
b42de4f2a4
commit
042096fbb7
7 changed files with 70 additions and 33 deletions
|
@ -702,6 +702,7 @@ screenFnVTable_t osdVTable = {
|
|||
osdWrite,
|
||||
NULL,
|
||||
max7456RefreshAll,
|
||||
NULL,
|
||||
};
|
||||
|
||||
void osdCmsInit(displayPort_t *pPort)
|
||||
|
@ -709,8 +710,6 @@ void osdCmsInit(displayPort_t *pPort)
|
|||
shiftdown = masterConfig.osdProfile.row_shiftdown;
|
||||
pPort->rows = max7456GetRowsCount() - shiftdown;
|
||||
pPort->cols = 30;
|
||||
pPort->buftime = 1; // Very fast
|
||||
pPort->bufsize = 50000; // Very large
|
||||
pPort->VTable = &osdVTable;
|
||||
pPort->vTable = &osdVTable;
|
||||
}
|
||||
#endif // OSD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue