Stack overflow on Horus

This commit is contained in:
Bertrand Songis
2019-12-07 08:44:13 +01:00
parent f7f67744e7
commit 74db396c36
+1 -1
View File
@@ -46,7 +46,7 @@ const char * logsOpen()
{ {
// Determine and set log file filename // Determine and set log file filename
FRESULT result; FRESULT result;
char filename[34]; // /LOGS/modelnamexxx-2013-01-01.log char filename[6 + LEN_MODEL_NAME + 16]; // /LOGS/modelnamexxxxxx_2013-01-01.log
if (!sdMounted()) if (!sdMounted())
return STR_NO_SDCARD; return STR_NO_SDCARD;