DataFlash: change log extension to *.bin

This commit is contained in:
Andrew Tridgell 2013-04-23 15:03:10 +10:00
parent cd624f68b9
commit 9ef34943af

View File

@ -3,7 +3,7 @@
/*
DataFlash logging - file oriented variant
This uses posix file IO to create log files called logs/NN.log in the
This uses posix file IO to create log files called logs/NN.bin in the
given directory
*/
@ -89,7 +89,7 @@ bool DataFlash_File::NeedErase(void)
char *DataFlash_File::_log_file_name(uint16_t log_num)
{
char *buf = NULL;
asprintf(&buf, "%s/%u.log", _log_directory, (unsigned)log_num);
asprintf(&buf, "%s/%u.bin", _log_directory, (unsigned)log_num);
return buf;
}