1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

CMS file renaming. displayPort renaming

This commit is contained in:
Martin Budden 2016-11-06 20:24:33 +00:00
parent 70ae5dd8da
commit d8a83518db
37 changed files with 245 additions and 247 deletions

View file

@ -27,13 +27,13 @@
static displayPort_t oledDisplayPort;
static int oledOpen(displayPort_t *displayPort)
static int oledGrab(displayPort_t *displayPort)
{
UNUSED(displayPort);
return 0;
}
static int oledClose(displayPort_t *displayPort)
static int oledRelease(displayPort_t *displayPort)
{
UNUSED(displayPort);
return 0;
@ -72,8 +72,8 @@ static uint32_t oledTxBytesFree(const displayPort_t *displayPort)
}
static const displayPortVTable_t oledVTable = {
.open = oledOpen,
.close = oledClose,
.grab = oledGrab,
.release = oledRelease,
.clear = oledClear,
.write = oledWrite,
.heartbeat = oledHeartbeat,
@ -86,6 +86,6 @@ displayPort_t *displayPortOledInit(void)
oledDisplayPort.vTable = &oledVTable;
oledDisplayPort.rows = SCREEN_CHARACTER_ROW_COUNT;
oledDisplayPort.cols = SCREEN_CHARACTER_COLUMN_COUNT;
oledDisplayPort.isOpen = false;
oledDisplayPort.isGrabbed = false;
return &oledDisplayPort;
}