Fork of X_NUCLEO_IHM02A1 by
Diff: Components/Interfaces/StepperMotor_class.h
- Revision:
- 11:1aca63b2f034
- Parent:
- 5:3cde564db574
- Child:
- 12:a942d51c488b
--- a/Components/Interfaces/StepperMotor_class.h Mon Jan 04 16:10:54 2016 +0000 +++ b/Components/Interfaces/StepperMotor_class.h Thu Jan 14 10:00:31 2016 +0000 @@ -76,7 +76,7 @@ * @param parameter The parameter's identifier (or its register address). * @retval The parameter's value. */ - virtual unsigned int GetParameter(unsigned int parameter) = 0; + virtual float GetParameter(unsigned int parameter) = 0; /** * @brief Getting the position. @@ -140,7 +140,7 @@ * @param value The parameter's value. * @retval None. */ - virtual void SetParameter(unsigned int parameter, unsigned int value) = 0; + virtual void SetParameter(unsigned int parameter, float value) = 0; /** * @brief Setting the current position to be the home position.