summaryrefslogtreecommitdiffstats
path: root/mlsdk/mllite/mldmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'mlsdk/mllite/mldmp.c')
-rw-r--r--mlsdk/mllite/mldmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mlsdk/mllite/mldmp.c b/mlsdk/mllite/mldmp.c
index 200d0d1..7381dd4 100644
--- a/mlsdk/mllite/mldmp.c
+++ b/mlsdk/mllite/mldmp.c
@@ -152,7 +152,9 @@ inv_error_t inv_dmp_open(void)
LOG_RESULT_LOCATION(result);
return result;
}
- result = inv_apply_endian_accel();
+ if (NULL != mldl_cfg->accel){
+ result = inv_apply_endian_accel();
+ }
return result;
}