mirror of
https://github.com/dkgrizzly/GreenSCSI.git
synced 2024-11-25 09:31:07 +00:00
Truncate log file on open
This commit is contained in:
parent
698f73c88b
commit
09a79fccae
@ -515,7 +515,7 @@ void setup()
|
||||
* Setup initialization logfile
|
||||
*/
|
||||
void initFileLog() {
|
||||
LOG_FILE = SD.open(LOG_FILENAME, O_WRONLY | O_CREAT);
|
||||
LOG_FILE = SD.open(LOG_FILENAME, O_WRONLY | O_CREAT | O_TRUNC);
|
||||
LOG_FILE.println("BlueSCSI <-> SD - https://github.com/erichelgeson/BlueSCSI");
|
||||
LOG_FILE.print("VERSION: ");
|
||||
LOG_FILE.println(VERSION);
|
||||
|
Loading…
Reference in New Issue
Block a user