mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
simple_display: fix array size
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user