BMI160 Initial

Dependents:   MAX32630HSP3_IMU_HelloWorld MAX32630HSP3_IMU_HelloWorld MAX32630HSP3_Pitch_Charles Maxim_Squeeks

Files at this revision

API Documentation at this revision

Comitter:
j3
Date:
Tue Jul 11 19:38:42 2017 +0000
Parent:
17:0ae99e97bcf5
Child:
19:8e66f58bef44
Commit message:
Made private i2c and spi vars reference as they should be to comply with NonCopyable class in mbed lib.

Changed in this revision

bmi160.h Show annotated file Show diff for this revision Revisions of this file
--- a/bmi160.h	Thu Jan 05 21:11:47 2017 +0000
+++ b/bmi160.h	Tue Jul 11 19:38:42 2017 +0000
@@ -700,7 +700,7 @@
     
 private:
 
-    I2C m_i2cBus;
+    I2C &m_i2cBus;
     uint8_t m_Wadrs, m_Radrs;
 };
 
@@ -786,7 +786,7 @@
     
 private:
 
-    SPI m_spiBus;
+    SPI &m_spiBus;
     DigitalOut m_cs;
 };