From 630146686ed73f64545f16ee48ed32ad8181df19 Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Fri, 25 Mar 2016 08:52:25 +1100 Subject: [PATCH] Comment out line which checks for attempt to set sampling rate beyond that supported by device. --- src/drivers/lis3mdl/lis3mdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/lis3mdl/lis3mdl.cpp b/src/drivers/lis3mdl/lis3mdl.cpp index 30e1e85611..7ebd597c8b 100644 --- a/src/drivers/lis3mdl/lis3mdl.cpp +++ b/src/drivers/lis3mdl/lis3mdl.cpp @@ -669,7 +669,7 @@ LIS3MDL::ioctl(struct file *filp, int cmd, unsigned long arg) /* check against maximum rate */ if (ticks < USEC2TICK(LIS3MDL_CONVERSION_INTERVAL)) { - return -EINVAL; +// RobD: quick fix for Phil's testing return -EINVAL; } /* update interval for next measurement */