INSAT Mini Project
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_6180XA1 by
Diff: Components/Interfaces/GenericSensor.h
- Revision:
- 4:a5abf7757947
- Parent:
- 1:1de1ea2994d9
- Child:
- 46:116dadbc80f1
--- 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 */