add defined filename

This commit is contained in:
theFeiter 2022-07-10 19:50:47 +02:00
parent 107c1413a1
commit f29e7ce916

View File

@ -207,7 +207,7 @@ void releaseLogBuffer()
#endif #endif
#ifdef USE_FS_LOG #ifdef USE_FS_LOG
DBG("Releasing Log buffer to internal flash."); DBG("Releasing Log buffer to internal flash.");
File logfile = LittleFS.open(filename, "a"); File logfile = LittleFS.open(FS_FILENAME, "a");
logfile.print(logBuffer); logfile.print(logBuffer);
logfile.close(); logfile.close();
#endif #endif