From 07cab3ac2a7f5e31ef44b29408830abf75d76181 Mon Sep 17 00:00:00 2001 From: smathis Date: Tue, 17 Jun 2025 10:22:13 +0200 Subject: [PATCH] Replaced sizeof with template parameter N --- src/sinqAxis.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sinqAxis.h b/src/sinqAxis.h index d9c6a34..0ad4829 100644 --- a/src/sinqAxis.h +++ b/src/sinqAxis.h @@ -710,8 +710,7 @@ asynStatus getAxisParam(A *axis, C *controller, const char *indexName, int (C::*func)(), char (*readValue)[N], const char *callerFunctionName, int lineNumber) { return getAxisParamImpl(axis, controller, indexName, func, *readValue, - callerFunctionName, lineNumber, sizeof(readValue), - TypeTag{}); + callerFunctionName, lineNumber, N, TypeTag{}); } /**