Compare commits
3 Commits
AxisParamC
...
main
Author | SHA1 | Date | |
---|---|---|---|
55a9fe6f3e | |||
e618b39687 | |||
41dfd1de5a |
@ -505,6 +505,8 @@ asynStatus setAxisParamImpl(A *axis, C *controller, const char *indexName,
|
|||||||
* This function should not be used directly, but rather through its macro
|
* This function should not be used directly, but rather through its macro
|
||||||
* variant `setAxisParamChecked`.
|
* variant `setAxisParamChecked`.
|
||||||
*
|
*
|
||||||
|
* @tparam A
|
||||||
|
* @tparam C
|
||||||
* @tparam T
|
* @tparam T
|
||||||
* @param axis
|
* @param axis
|
||||||
* @param controller
|
* @param controller
|
||||||
@ -599,9 +601,9 @@ asynStatus getAxisParamImpl(A *axis, C *controller, const char *indexName,
|
|||||||
const char *callerFunctionName, int lineNumber,
|
const char *callerFunctionName, int lineNumber,
|
||||||
size_t msgSize, TypeTag<bool>) {
|
size_t msgSize, TypeTag<bool>) {
|
||||||
int readValueInt = 0;
|
int readValueInt = 0;
|
||||||
asynStatus status =
|
asynStatus status = getAxisParamImpl(axis, controller, indexName, func,
|
||||||
getAxisParamImpl(axis, indexName, func, &readValueInt,
|
&readValueInt, callerFunctionName,
|
||||||
callerFunctionName, lineNumber, msgSize);
|
lineNumber, msgSize, TypeTag<int>{});
|
||||||
*readValue = readValueInt != 0;
|
*readValue = readValueInt != 0;
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user