Restored SET_ENC_RATIO command.

This commit is contained in:
Ron Sluiter
2002-07-03 21:13:52 +00:00
parent 587300e479
commit 4e4936cd7f
+7
View File
@@ -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