mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
DISPLAY - Fix ticker updating problem, line buffer was too short.
This commit is contained in:
parent
64f1f77173
commit
6b6df68fa7
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ static uint32_t nextDisplayUpdateAt = 0;
|
|||
|
||||
static rxConfig_t *rxConfig;
|
||||
|
||||
static char lineBuffer[SCREEN_CHARACTER_COLUMN_COUNT];
|
||||
static char lineBuffer[SCREEN_CHARACTER_COLUMN_COUNT + 1];
|
||||
|
||||
typedef enum {
|
||||
PAGE_WELCOME,
|
||||
|
@ -248,7 +248,7 @@ void showSensorsPage(void)
|
|||
i2c_OLED_set_line(rowIndex++);
|
||||
i2c_OLED_send_string(lineBuffer);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void updateDisplay(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue