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,
|
||||
int (C::*func)(), char (*readValue)[N],
|
||||
const char *callerFunctionName, int lineNumber) {
|
||||
return getAxisParamImpl(axis, controller, indexName, func,
|
||||
static_cast<char *>(readValue), callerFunctionName,
|
||||
lineNumber, sizeof(readValue), TypeTag<char>{});
|
||||
return getAxisParamImpl(axis, controller, indexName, func, *readValue,
|
||||
callerFunctionName, lineNumber, sizeof(readValue),
|
||||
TypeTag<char>{});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user