simple_display: fix array size

This commit is contained in:
Stefan Seyfried
2012-07-07 13:46:03 +02:00
parent d7d00c7ddf
commit 770ab77eac

View File

@@ -211,7 +211,7 @@ void CLCD::showTime(bool force)
}
else if (power && (force || (showclock && (now - last_display) > 4)))
{
char timestr[DISPLAY_LEN];
char timestr[DISPLAY_LEN + 1];
struct tm *t;
static int hour = 0, minute = 0;