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
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);
}
