|
|
@ -61,7 +61,7 @@ |
|
|
|
stepcfg.motor_vstop = MOTOR##MOTOR_INDEX##_MOTOR_VSTOP; \ |
|
|
|
stepcfg.motor_tzerowait = MOTOR##MOTOR_INDEX##_MOTOR_TZEROWAIT; \ |
|
|
|
stepcfg.motor_enc_resolution = MOTOR##MOTOR_INDEX##_ENC_RESOLUTION; \ |
|
|
|
stepcfg.motor_enable_enc_resolution = MOTOR##MOTOR_INDEX##_ENABLE_ENC_RESOLUTION; \ |
|
|
|
stepcfg.motor_enable_enc = MOTOR##MOTOR_INDEX##_ENABLE_ENC_RESOLUTION; \ |
|
|
|
\ |
|
|
|
module.initialize(getmoduleId(subid), &motor, input, ZARRAY_SIZE(input), &stepcfg); \ |
|
|
|
GService::inst()->getZCanProtocolParser()->registerModule(&module); \ |
|
|
|