Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: Ultrasound_And_IMU
Fork of X_NUCLEO_6180XA1 by
Diff: Components/Interfaces/GenericSensor.h
- Revision:
- 4:a5abf7757947
- Parent:
- 1:1de1ea2994d9
- Child:
- 46:116dadbc80f1
diff -r 454541a079f4 -r a5abf7757947 Components/Interfaces/GenericSensor.h
--- a/Components/Interfaces/GenericSensor.h Fri Sep 11 14:39:00 2015 +0200
+++ b/Components/Interfaces/GenericSensor.h Thu Sep 17 10:41:21 2015 +0200
@@ -54,14 +54,14 @@
* @param[out] ptr Pointer to device specific initalization structure
* @return 0 in case of success, an error code otherwise
*/
- virtual int Init(void *ptr) = 0;
+ virtual int Init() = 0;
/**
* @brief Get ID of sensor
* @param[out] id Pointer to where to store the ID to
* @return 0 in case of success, an error code otherwise
*/
- virtual int ReadID(uint8_t *id) = 0;
+ virtual int ReadID() = 0;
};
-#endif /* __GENERIC_SENSOR_CLASS_H */
\ No newline at end of file
+#endif /* __GENERIC_SENSOR_CLASS_H */
