1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Improved OSD & displayPort initialisation. Allowed nested screen grabbing

This commit is contained in:
Martin Budden 2016-11-16 14:27:59 +00:00
parent 9a62b04699
commit 7c8d1967d0
9 changed files with 153 additions and 124 deletions

View file

@ -112,9 +112,8 @@ static const displayPortVTable_t oledVTable = {
displayPort_t *displayPortOledInit(void)
{
oledDisplayPort.vTable = &oledVTable;
displayInit(&oledDisplayPort, &oledVTable);
oledDisplayPort.rows = SCREEN_CHARACTER_ROW_COUNT;
oledDisplayPort.cols = SCREEN_CHARACTER_COLUMN_COUNT;
oledDisplayPort.isGrabbed = false;
return &oledDisplayPort;
}