diff --git a/site_ansto/motor_dmc2280.c b/site_ansto/motor_dmc2280.c index f6bf9a1e..30fc6d9f 100644 --- a/site_ansto/motor_dmc2280.c +++ b/site_ansto/motor_dmc2280.c @@ -964,7 +964,7 @@ static int DMC2280SendReceive(pDMC2280Driv self, char *cmd, char* reply) { * \param *pData provides access to a motor's data * \param posn, the axis position which you want to remember. * */ -static void set_lastMotion(pDMC2280Driv self, float steps, float counts) { +static void set_lastMotion(pDMC2280Driv self, int steps, int counts) { assert(self != NULL); self->lastSteps = steps; self->lastCounts = counts;