Changed poll to have bool arg

This commit is contained in:
MarkRivers
2011-04-07 03:36:39 +00:00
parent 0f014436ca
commit 4f24eb7feb
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -368,16 +368,12 @@ asynStatus motorSimAxis::config(int hiHardLimit, int lowHardLimit, int home, int
return asynSuccess;
}
asynStatus motorSimAxis::poll(int *moving)
asynStatus motorSimAxis::poll(bool *moving)
{
return asynSuccess;
}
/**\defgroup motorSimTask Routines to implement the motor axis simulation task
@{
*/
/** Process one iteration of an axis
This routine takes a single axis and propogates its motion forward a given amount
+1 -1
View File
@@ -29,7 +29,7 @@ public:
asynStatus moveVelocity(double min_velocity, double max_velocity, double acceleration);
asynStatus home(double min_velocity, double max_velocity, double acceleration, int forwards);
asynStatus stop(double acceleration);
asynStatus poll(int *moving);
asynStatus poll(bool *moving);
asynStatus setPosition(double position);
/* These are the methods that are new to this class */