From d365db529bcf80d2c108217275970f8f78b36596 Mon Sep 17 00:00:00 2001 From: smathis Date: Thu, 10 Apr 2025 15:44:56 +0200 Subject: [PATCH] Fixed typo --- src/turboPmacController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/turboPmacController.cpp b/src/turboPmacController.cpp index 71714c3..43e9ac7 100644 --- a/src/turboPmacController.cpp +++ b/src/turboPmacController.cpp @@ -173,6 +173,7 @@ asynStatus turboPmacController::writeRead(int axisNo, const char *command, // We already did the error logging directly in getAxis return asynError; } + const size_t commandLength = strlen(command); // NOT NEEDED ANYMORE DUE TO THE LOW LEVEL DRIVER // /* @@ -201,7 +202,7 @@ asynStatus turboPmacController::writeRead(int axisNo, const char *command, // manipulation methods of C don't work. // */ - // const size_t commandLength = strlen(command); + // // const int offset = 9; // // Positions 2 to 6 must have the value 0. Since fullCommand is