summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-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)
304 } 304 }
305 if(strlen( &logfbuffer[i + 1]) > 0) 305 if(strlen( &logfbuffer[i + 1]) > 0)
306 { 306 {
307 lcd_putsf(1, (*y)++, "%*s", &logfbuffer[i + 1]); 307 lcd_putsf(1, (*y)++, "%*s", (MAX_LOGF_SIZE-i), &logfbuffer[i + 1]);
308 lcd_update(); 308 lcd_update();
309 } 309 }
310 } 310 }