removed X-NUCLEO-COMMON and ST-INTERFACES
Dependents: unh-hackathon-example unh-hackathon-example-raw
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lps25h/lps25h_class.h
- Revision:
- 92:d1c67d482bad
- Parent:
- 88:7b8d3316d753
--- a/Components/lps25h/lps25h_class.h Thu Mar 23 13:05:15 2017 +0000 +++ b/Components/lps25h/lps25h_class.h Fri Mar 24 10:57:29 2017 +0100 @@ -62,7 +62,7 @@ virtual ~LPS25H() {} /*** Interface Methods ***/ - virtual int Init(void *init_struct) { + virtual int init(void *init_struct) { return LPS25H_Init((PRESSURE_InitTypeDef*)init_struct); } @@ -74,7 +74,7 @@ return LPS25H_PowerOff(); } - virtual int ReadID(uint8_t *p_id) { + virtual int read_id(uint8_t *p_id) { return LPS25H_ReadID(p_id); } @@ -86,11 +86,11 @@ return LPS25H_RebootCmd(); } - virtual int GetPressure(float *pfData) { + virtual int get_pressure(float *pfData) { return LPS25H_GetPressure(pfData); } - virtual int GetTemperature(float *pfData) { + virtual int get_temperature(float *pfData) { return LPS25H_GetTemperature(pfData); }