Official interfaces for ST components.
Dependents: X_NUCLEO_IKS01A1 mDot_X_NUCLEO_IKS01A1 53L0A1 X_NUCLEO_IKS01A1 ... more
Fork of ST_INTERFACES by
This library contains all abstract classes which together constitute the common API to which all existing and future ST components will adhere to.
Diff: Actuators/BDCMotor.h
- Revision:
- 5:d3c9b33b992c
- Parent:
- 3:b1bb477e115e
diff -r 8f70f7159316 -r d3c9b33b992c Actuators/BDCMotor.h --- a/Actuators/BDCMotor.h Fri Mar 10 11:03:17 2017 +0100 +++ b/Actuators/BDCMotor.h Fri Mar 24 12:59:21 2017 +0000 @@ -97,7 +97,7 @@ * @param motorId from 0 to (MAX_NUMBER_OF_BRUSH_DC_MOTORS - 1). * @retval The device state */ - virtual motorState_t get_device_state(unsigned int) = 0; + virtual unsigned int get_device_state(unsigned int) = 0; /** * @brief Getting the current speed in % of the specified motor.