logf: Fix an incorrect fix in 835d0c737a
Change-Id: I060033d9a7cd54bab75e4f82e3de002bdb027af2
This commit is contained in:
parent
eafdba87f8
commit
cc6b036ef5
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ void logf_panic_dump(int *y)
|
|||
}
|
||||
if(strlen( &logfbuffer[i + 1]) > 0)
|
||||
{
|
||||
lcd_putsf(1, (*y)++, "%*s", &logfbuffer[i + 1]);
|
||||
lcd_putsf(1, (*y)++, "%*s", (MAX_LOGF_SIZE-i), &logfbuffer[i + 1]);
|
||||
lcd_update();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue