forked from epics_driver_modules/motorBase
Restored SET_ENC_RATIO command.
This commit is contained in:
@@ -99,6 +99,7 @@ static int PM304_table[] = {
|
||||
IMMEDIATE, /* SET_VELOCITY */
|
||||
IMMEDIATE, /* SET_ACCEL */
|
||||
IMMEDIATE, /* GO */
|
||||
IMMEDIATE, /* SET_ENC_RATIO */
|
||||
INFO, /* GET_INFO */
|
||||
MOVE_TERM, /* STOP_AXIS */
|
||||
VELOCITY, /* JOG */
|
||||
@@ -266,6 +267,12 @@ STATIC long PM304_build_trans(motor_cmnd command, double *parms, struct motorRec
|
||||
* does nothing
|
||||
*/
|
||||
break;
|
||||
case SET_ENC_RATIO:
|
||||
/*
|
||||
* The PM304 does not have the concept of encoder ratio, ignore this
|
||||
* command
|
||||
*/
|
||||
break;
|
||||
case GET_INFO:
|
||||
/* These commands are not actually done by sending a message, but
|
||||
rather they will indirectly cause the driver to read the status
|
||||
|
||||
Reference in New Issue
Block a user