From 2cb9e55f636ceb5e2dda4063cf09bcf765da2d89 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 9 Nov 2007 14:08:46 +1100 Subject: [PATCH] change counts and steps to integer for 31bit encoder handling r2255 | dcl | 2007-11-09 14:08:46 +1100 (Fri, 09 Nov 2007) | 2 lines --- site_ansto/motor_dmc2280.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;