summaryrefslogtreecommitdiff
path: root/include/motion_sense.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r--include/motion_sense.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h
index cd830307e3..2aea41a698 100644
--- a/include/motion_sense.h
+++ b/include/motion_sense.h
@@ -72,8 +72,12 @@ struct motion_sensor_t {
const struct accelgyro_drv *drv;
struct mutex *mutex;
void *drv_data;
+
+ /* i2c port */
+ uint8_t port;
/* i2c address or SPI slave logic GPIO. */
uint8_t addr;
+
const matrix_3x3_t *rot_standard_ref;
/*