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