mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-12-23 04:29:44 +00:00
Fix issue where log file would close when logging was enabled.
Thanks @marcelv-3 https://github.com/erichelgeson/BlueSCSI/discussions/103#discussioncomment-2779471
This commit is contained in:
parent
94a22bb45e
commit
73fc0ed2bf
@ -734,7 +734,9 @@ void finalizeFileLog() {
|
||||
}
|
||||
LOG_FILE.println("Finished initialization of SCSI Devices - Entering main loop.");
|
||||
LOG_FILE.sync();
|
||||
#if DEBUG < 2
|
||||
LOG_FILE.close();
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user