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

DISPLAY - Fix ticker updating problem, line buffer was too short.

This commit is contained in:
Dominic Clifton 2014-09-22 19:27:50 +01:00
parent 64f1f77173
commit 6b6df68fa7
2 changed files with 2 additions and 2 deletions

BIN
src/.DS_Store vendored Normal file

Binary file not shown.

View file

@ -56,7 +56,7 @@ static uint32_t nextDisplayUpdateAt = 0;
static rxConfig_t *rxConfig; static rxConfig_t *rxConfig;
static char lineBuffer[SCREEN_CHARACTER_COLUMN_COUNT]; static char lineBuffer[SCREEN_CHARACTER_COLUMN_COUNT + 1];
typedef enum { typedef enum {
PAGE_WELCOME, PAGE_WELCOME,
@ -248,7 +248,7 @@ void showSensorsPage(void)
i2c_OLED_set_line(rowIndex++); i2c_OLED_set_line(rowIndex++);
i2c_OLED_send_string(lineBuffer); i2c_OLED_send_string(lineBuffer);
} }
#endif #endif
} }
void updateDisplay(void) void updateDisplay(void)