mirror of https://github.com/arendst/Tasmota.git
Update xdsp_01_lcd.ino
This commit is contained in:
parent
be82878bd2
commit
9dc445f949
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue