mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Consistent naming for TxBytesFree
This commit is contained in:
parent
567c5cded5
commit
9363f53945
5 changed files with 10 additions and 10 deletions
|
@ -136,9 +136,9 @@ void cmsScreenResync(displayPort_t *instance)
|
|||
instance->vTable->resync(instance);
|
||||
}
|
||||
|
||||
uint16_t cmsScreenTxRoom(displayPort_t *instance)
|
||||
uint16_t cmsScreenTxBytesFree(displayPort_t *instance)
|
||||
{
|
||||
return instance->vTable->txroom();
|
||||
return instance->vTable->txBytesFree();
|
||||
}
|
||||
|
||||
void cmsScreenInit(displayPort_t *pDisp, cmsDeviceInitFuncPtr cmsDeviceInitFunc)
|
||||
|
@ -376,7 +376,7 @@ void cmsDrawMenu(displayPort_t *pDisplay)
|
|||
static uint8_t pollDenom = 0;
|
||||
bool drawPolled = (++pollDenom % 8 == 0);
|
||||
|
||||
uint32_t room = cmsScreenTxRoom(pDisplay);
|
||||
uint32_t room = cmsScreenTxBytesFree(pDisplay);
|
||||
|
||||
if (!currentMenu)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue