File manager
Diff: FileManager.cpp
- Revision:
- 9:b9115b3a77f9
- Parent:
- 8:5af4e12c43b2
- Parent:
- 7:ab015947e368
- Child:
- 10:a8003d357cf2
diff -r 5af4e12c43b2 -r b9115b3a77f9 FileManager.cpp --- a/FileManager.cpp Wed May 18 07:38:25 2016 +0000 +++ b/FileManager.cpp Wed May 18 07:41:14 2016 +0000 @@ -236,6 +236,9 @@ /* Write timestamp */ fprintf(fp, "%d",timestamp); + + /* Write MSecond */ + fprintf(fp, "%d",0); /* Write variable data */ for(int i = 0; i < size; i++) @@ -278,7 +281,9 @@ printf("\r\n Writing to Log File (%s)....",file_name); /* Write the header to the file */ - fprintf(fp, "%s",RMS_HEADER_TIME); + fprintf(fp, "%s",RMS_HEADER_TIME); + + fprintf(fp, "%s",RMS_MSECOND); for(int i = 0; i < m_amountVarList; i++) { fprintf(fp, ",%s",m_varList[i].varName);