pin assignments for mDot

Dependencies:   X_NUCLEO_COMMON

Dependents:   iks01a1_acc LoRaWAN-demo-72_mdotIKS01A1 MTDOT-UDKDemo_Senet MTDOT-UDKDemo

Fork of X_NUCLEO_IKS01A1 by ST

Revision:
18:1cb4ae9d83e7
Parent:
6:8d2abd695c52
Child:
20:c20c8bd5be6b
--- a/Components/lps25h/lps25h_class.h	Wed May 27 12:03:41 2015 +0200
+++ b/Components/lps25h/lps25h_class.h	Fri May 29 14:23:22 2015 +0200
@@ -57,19 +57,19 @@
 	}
 	
 	/*** Interface Methods ***/
-	virtual PRESSURE_StatusTypeDef Init(PRESSURE_InitTypeDef *init_struct) {
-		return LPS25H_Init(init_struct);
+	virtual int Init(void *init_struct) {
+		return LPS25H_Init((PRESSURE_InitTypeDef*)init_struct);
 	}
 
-	virtual PRESSURE_StatusTypeDef PowerOff(void) {
+	virtual int PowerOff(void) {
 		return LPS25H_PowerOff();
 	}
 
-	virtual PRESSURE_StatusTypeDef ReadID(uint8_t *p_id) {
+	virtual int ReadID(uint8_t *p_id) {
 		return LPS25H_ReadID(p_id);
 	}
 
-	virtual PRESSURE_StatusTypeDef Reset(void) {
+	virtual int Reset(void) {
 		return LPS25H_RebootCmd();
 	}
 
@@ -79,11 +79,11 @@
 	virtual uint8_t ITStatus(uint16_t, uint16_t) { /* not yet implemented */ return 0; }
 	virtual void ClearIT(uint16_t, uint16_t) { /* not yet implemented */ }
     
-	virtual PRESSURE_StatusTypeDef GetPressure(float *pfData) {
+	virtual int GetPressure(float *pfData) {
 		return LPS25H_GetPressure(pfData);
 	}
 
-	virtual PRESSURE_StatusTypeDef GetTemperature(float *pfData) {
+	virtual int GetTemperature(float *pfData) {
 		return LPS25H_GetTemperature(pfData);
 	}