summaryrefslogtreecommitdiff
path: root/firmware/logf.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/logf.c')
-rw-r--r--firmware/logf.c2
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();
}
}