From 01a04d3b2478453eab097c6344ec8ee0a0315db5 Mon Sep 17 00:00:00 2001 From: smathis Date: Tue, 3 Feb 2026 14:05:12 +0100 Subject: [PATCH] Fixed of-by-one error --- src/turboPmacAxis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/turboPmacAxis.cpp b/src/turboPmacAxis.cpp index a88e6db..a32fe38 100644 --- a/src/turboPmacAxis.cpp +++ b/src/turboPmacAxis.cpp @@ -218,7 +218,7 @@ asynStatus turboPmacAxis::init() { // here to mm/s^2. motorAccel = motorAccel * 1000; - if (nvals != 8) { + if (nvals != 7) { return pC_->couldNotParseResponse(command, response, axisNo_, __PRETTY_FUNCTION__, __LINE__); }