Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Irwin <coding@louisirwin.co.uk>2021-08-24 15:50:45 +0300
committerLouis Irwin <coding@louisirwin.co.uk>2021-08-24 15:50:45 +0300
commit3487b46a833bdc2173283f9220eb786a360606bf (patch)
treedad1681c571e5dc0a1743a8b048749bf48d6cfd0
parentdc2b2efd166950592ff95fa850fa09801d4812b2 (diff)
Minor bugfix on closed loop data collectionclosed-loop-control
-rw-r--r--src/ClosedLoop/ClosedLoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClosedLoop/ClosedLoop.cpp b/src/ClosedLoop/ClosedLoop.cpp
index ea282300..3a7ce018 100644
--- a/src/ClosedLoop/ClosedLoop.cpp
+++ b/src/ClosedLoop/ClosedLoop.cpp
@@ -51,7 +51,7 @@ static bool OpenDataCollectionFile(String<MaxFilenameLength> filename, unsigned
// Write the header line
{
String<StringLength500> temp;
- temp.printf("Sample,Timestamp");
+ temp.copy("Sample,Timestamp");
if (filterRequested & CL_RECORD_RAW_ENCODER_READING) {temp.cat(",Raw Encoder Reading");}
if (filterRequested & CL_RECORD_CURRENT_MOTOR_STEPS) {temp.cat(",Current Motor Steps");}
if (filterRequested & CL_RECORD_TARGET_MOTOR_STEPS) {temp.cat(",Target Motor Steps");}