Akifumi Takahashi / TRP105F_Spline

Files at this revision

API Documentation at this revision

Comitter:
aktk
Date:
Thu Jun 30 17:41:14 2016 +0000
Parent:
21:cd20537290f9
Commit message:
The filename that SPT::TRP105FS::printCalibrationLOG() makes has become ADLOG%2d.TXT.

Changed in this revision

TRP105FS_SPIWrapper.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TRP105FS_SPIWrapper.cpp	Thu Jun 30 17:02:48 2016 +0000
+++ b/TRP105FS_SPIWrapper.cpp	Thu Jun 30 17:41:14 2016 +0000
@@ -99,6 +99,9 @@
 void
 SPI_TRP105FS::printCalibrationiLOG()
 {
-    trp.printOutData("ADLOG.TXT");
+    char lfilename[13];
+    
+    sprintf(lfilename, "ADLOG%2d.TXT", channel);
+    trp.printOutData(lfilename);
 }
 #endif
\ No newline at end of file