Update xdsp_01_lcd.ino

This commit is contained in:
Theo Arends 2019-02-11 21:30:30 +01:00 committed by GitHub
parent be82878bd2
commit 9dc445f949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ void LcdCenter(uint8_t row, char* txt)
int len = strlen(txt);
int offset = 0;
if (len >= Settings.display_cols[0]) {
len = Settings.display_cols[0]
len = Settings.display_cols[0];
} else {
offset = (Settings.display_cols[0] - len) / 2;
}