1
0
Fork 0
forked from len0rd/rockbox

Don't add new message to logf when we dump it to file

Fix log file corruption if we have new messages at dumping log to file. Comment
removed as it incorrect. We store all messages in direct order (last message at
end of file).

Change-Id: I4acfa8a0935cc41a889e08f6bc42974fefd1ade2
This commit is contained in:
Mihail Zenkov 2016-03-31 11:33:11 +00:00 committed by Gerrit Rockbox
parent 26beb30c15
commit e599810ffa
3 changed files with 16 additions and 9 deletions

View file

@ -34,6 +34,7 @@
extern unsigned char logfbuffer[MAX_LOGF_SIZE];
extern int logfindex;
extern bool logfwrap;
extern bool logfenabled;
#endif /* __PCTOOL__ */
#define logf _logf