diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-08-15 09:03:16 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-08-15 09:03:16 -0400 |
commit | cc6b036ef5209161469d36808355c40382a26bac (patch) | |
tree | 4b285ad150abfc33395183d60035fe7cb5df98b8 /firmware | |
parent | eafdba87f8d566d7f66f11e4855d40175853acb0 (diff) |
logf: Fix an incorrect fix in 835d0c737a7
Change-Id: I060033d9a7cd54bab75e4f82e3de002bdb027af2
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/logf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/logf.c b/firmware/logf.c index e71425f2c3..971c2d3a35 100644 --- a/firmware/logf.c +++ b/firmware/logf.c @@ -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(); } } |