diff options
author | Louis Irwin <coding@louisirwin.co.uk> | 2021-08-24 15:50:45 +0300 |
---|---|---|
committer | Louis Irwin <coding@louisirwin.co.uk> | 2021-08-24 15:50:45 +0300 |
commit | 3487b46a833bdc2173283f9220eb786a360606bf (patch) | |
tree | dad1681c571e5dc0a1743a8b048749bf48d6cfd0 | |
parent | dc2b2efd166950592ff95fa850fa09801d4812b2 (diff) |
Minor bugfix on closed loop data collectionclosed-loop-control
-rw-r--r-- | src/ClosedLoop/ClosedLoop.cpp | 2 |
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");} |