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:
parent
9a62b04699
commit
7c8d1967d0
9 changed files with 153 additions and 124 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue