mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Eliminated SET_ENC_RATIO command.
This commit is contained in:
@@ -93,7 +93,6 @@ static int MCB4B_table[] = {
|
|||||||
IMMEDIATE, /* SET_VELOCITY */
|
IMMEDIATE, /* SET_VELOCITY */
|
||||||
IMMEDIATE, /* SET_ACCEL */
|
IMMEDIATE, /* SET_ACCEL */
|
||||||
IMMEDIATE, /* GO */
|
IMMEDIATE, /* GO */
|
||||||
IMMEDIATE, /* SET_ENC_RATIO */
|
|
||||||
INFO, /* GET_INFO */
|
INFO, /* GET_INFO */
|
||||||
MOVE_TERM, /* STOP_AXIS */
|
MOVE_TERM, /* STOP_AXIS */
|
||||||
VELOCITY, /* JOG */
|
VELOCITY, /* JOG */
|
||||||
@@ -278,13 +277,6 @@ STATIC long MCB4B_build_trans(motor_cmnd command, double *parms, struct motorRec
|
|||||||
*/
|
*/
|
||||||
trans->state = IDLE_STATE;
|
trans->state = IDLE_STATE;
|
||||||
break;
|
break;
|
||||||
case SET_ENC_RATIO:
|
|
||||||
/*
|
|
||||||
* The MCB4B does not have the concept of encoder ratio, ignore this
|
|
||||||
* command
|
|
||||||
*/
|
|
||||||
trans->state = IDLE_STATE;
|
|
||||||
break;
|
|
||||||
case GET_INFO:
|
case GET_INFO:
|
||||||
/* These commands are not actually done by sending a message, but
|
/* These commands are not actually done by sending a message, but
|
||||||
rather they will indirectly cause the driver to read the status
|
rather they will indirectly cause the driver to read the status
|
||||||
|
Reference in New Issue
Block a user