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
This commit is contained in:
Douglas Clowes
2007-11-09 14:08:46 +11:00
parent 83ac14eeac
commit 2cb9e55f63

View File

@@ -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;