forked from epics_driver_modules/motorBase
Changed poll to have bool arg
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user