Replaced sizeof with template parameter N

This commit is contained in:
2025-06-17 10:22:13 +02:00
parent e194736206
commit 07cab3ac2a

View File

@ -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<char>{});
callerFunctionName, lineNumber, N, TypeTag<char>{});
}
/**