mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
add defined filename
This commit is contained in:
parent
107c1413a1
commit
f29e7ce916
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user