summaryrefslogtreecommitdiffstats
path: root/invensense/mlsdk/mllite/mlsupervisor.c
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-11-09 15:13:48 -0600
committerZiyan <jaraidaniel@gmail.com>2016-01-17 22:41:00 +0100
commit85779371e527f94e865dc0450c703676d858bc30 (patch)
treeb2260d27aa6f47d2891197ebbcb71915eed679c4 /invensense/mlsdk/mllite/mlsupervisor.c
parentaeea3ec86137d05eb1285a05e3f1518d0645b87f (diff)
downloaddevice_samsung_tuna-85779371e527f94e865dc0450c703676d858bc30.zip
device_samsung_tuna-85779371e527f94e865dc0450c703676d858bc30.tar.gz
device_samsung_tuna-85779371e527f94e865dc0450c703676d858bc30.tar.bz2
invensense: Remove MPU6050 ifdef stuff.
The header files necessary for those sensors aren't even here anyway.
Diffstat (limited to 'invensense/mlsdk/mllite/mlsupervisor.c')
-rw-r--r--invensense/mlsdk/mllite/mlsupervisor.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/invensense/mlsdk/mllite/mlsupervisor.c b/invensense/mlsdk/mllite/mlsupervisor.c
index ea6b7ec..a7b35df 100644
--- a/invensense/mlsdk/mllite/mlsupervisor.c
+++ b/invensense/mlsdk/mllite/mlsupervisor.c
@@ -86,16 +86,6 @@ void inv_init_sensor_fusion_supervisor(void)
yas_filter_init(&f);
f.init(&handle);
-#if defined CONFIG_MPU_SENSORS_MPU6050A2 || \
- defined CONFIG_MPU_SENSORS_MPU6050B1
- if (inv_compass_present()) {
- struct mldl_cfg *mldl_cfg = inv_get_dl_config();
- if (mldl_cfg->pdata->compass.bus == EXT_SLAVE_BUS_SECONDARY) {
- (void)inv_send_external_sensor_data(INV_ELEMENT_1 | INV_ELEMENT_2 | INV_ELEMENT_3, INV_16_BIT);
- }
- }
-#endif
-
if (ml_supervisor_cb.supervisor_reset_func != NULL) {
ml_supervisor_cb.supervisor_reset_func();
}