Fixed bug in char array getter
This commit is contained in:
@@ -709,9 +709,9 @@ template <typename A, typename C, size_t N>
|
|||||||
asynStatus getAxisParam(A *axis, C *controller, const char *indexName,
|
asynStatus getAxisParam(A *axis, C *controller, const char *indexName,
|
||||||
int (C::*func)(), char (*readValue)[N],
|
int (C::*func)(), char (*readValue)[N],
|
||||||
const char *callerFunctionName, int lineNumber) {
|
const char *callerFunctionName, int lineNumber) {
|
||||||
return getAxisParamImpl(axis, controller, indexName, func,
|
return getAxisParamImpl(axis, controller, indexName, func, *readValue,
|
||||||
static_cast<char *>(readValue), callerFunctionName,
|
callerFunctionName, lineNumber, sizeof(readValue),
|
||||||
lineNumber, sizeof(readValue), TypeTag<char>{});
|
TypeTag<char>{});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user