summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--motionMonitor/motionMonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/motionMonitor/motionMonitor.c b/motionMonitor/motionMonitor.c
index 092d4a3..9344c35 100644
--- a/motionMonitor/motionMonitor.c
+++ b/motionMonitor/motionMonitor.c
@@ -99,7 +99,7 @@ le_result_t brnkl_motion_getSuddenImpact(double* xAcc, size_t *xSize,
totalImpacts > sizeof(yAccImpact) ||
totalImpacts > sizeof(zAccImpact)
)
- return LE_FORMAT_ERROR;
+ return LE_OUT_OF_RANGE;
*xSize = *ySize = *zSize = totalImpacts;