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: Sensors/RangeSensor.h
- Revision:
- 2:e2bf4d06a8fc
- Parent:
- 1:a7810e7acf8d
- Child:
- 3:b1bb477e115e
--- a/Sensors/RangeSensor.h Tue Sep 27 11:28:52 2016 +0000 +++ b/Sensors/RangeSensor.h Tue Nov 29 17:43:48 2016 +0000 @@ -54,7 +54,7 @@ * @param[out] piData Pointer to where to store range to * @return 0 in case of success, an error code otherwise */ - virtual int GetRange(int32_t *piData) = 0; + virtual int GetDistance(uint32_t *piData) = 0; }; #endif /* __RANGE_SENSOR_CLASS_H */