mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Some fixes for what looks like merge problems introduced by #9012.
This commit is contained in:
parent
a65a4049ad
commit
21b9fba3bf
3 changed files with 2 additions and 7 deletions
|
@ -56,7 +56,7 @@ static int hottWriteString(displayPort_t *displayPort, uint8_t col, uint8_t row,
|
|||
UNUSED(attr);
|
||||
|
||||
while (*s) {
|
||||
hottWriteChar(displayPort, col++, row, 0, *(s++));
|
||||
hottWriteChar(displayPort, col++, row, DISPLAYPORT_ATTR_NONE, *(s++));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ static int hottClearScreen(displayPort_t *displayPort)
|
|||
{
|
||||
for (int row = 0; row < displayPort->rows; row++) {
|
||||
for (int col= 0; col < displayPort->cols; col++) {
|
||||
hottWriteChar(displayPort, col, row, 0, ' ');
|
||||
hottWriteChar(displayPort, col, row, DISPLAYPORT_ATTR_NONE, ' ');
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue