1
0
Fork 0
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:
jflyper 2016-11-02 00:30:54 +09:00
parent b42de4f2a4
commit 042096fbb7
7 changed files with 70 additions and 33 deletions

View file

@ -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