diff --git a/site_ansto/motor_dmc2280.c b/site_ansto/motor_dmc2280.c index 113d48d2..31a16287 100644 --- a/site_ansto/motor_dmc2280.c +++ b/site_ansto/motor_dmc2280.c @@ -4437,21 +4437,21 @@ static int DMC2280SetPar(void *pData, SConnection *pCon, self->bias_bits = newValue; return 1; } - if (self->abs_encoder && strcasecmp("motorPollFast", name) == 0) { + if (strcasecmp("motorPollFast", name) == 0) { /* Debug Managers only */ if (!(self->debug && SCMatchRights(pCon, usMugger))) return 0; self->motorPollFast = newValue; return 1; } - if (self->abs_encoder && strcasecmp("motorPollSlow", name) == 0) { + if (strcasecmp("motorPollSlow", name) == 0) { /* Debug Managers only */ if (!(self->debug && SCMatchRights(pCon, usMugger))) return 0; self->motorPollSlow = newValue; return 1; } - if (self->abs_encoder && strcasecmp("airPollTimer", name) == 0) { + if (strcasecmp("airPollTimer", name) == 0) { /* Debug Managers only */ if (!(self->debug && SCMatchRights(pCon, usMugger))) return 0;