diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-14 11:04:47 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-14 11:04:47 +0000 |
commit | bf900f9dbfff6c790b27214b165f4cd0de38cb16 (patch) | |
tree | 7e53a9493722ff2ac6cfad124df49b66bb2d4bf2 /os/ex | |
parent | 05a144509f022febee020f8cc1696be84872bcfe (diff) | |
download | ChibiOS-bf900f9dbfff6c790b27214b165f4cd0de38cb16.tar.gz ChibiOS-bf900f9dbfff6c790b27214b165f4cd0de38cb16.tar.bz2 ChibiOS-bf900f9dbfff6c790b27214b165f4cd0de38cb16.zip |
Fixes on LSM6DS0 demo and driver
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11739 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/ex')
-rw-r--r-- | os/ex/ST/lsm6ds0.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/os/ex/ST/lsm6ds0.c b/os/ex/ST/lsm6ds0.c index 444c73dd7..fc3a3a98e 100644 --- a/os/ex/ST/lsm6ds0.c +++ b/os/ex/ST/lsm6ds0.c @@ -963,9 +963,6 @@ void lsm6ds0Start(LSM6DS0Driver *devp, const LSM6DS0Config *config) { {
cr[1] = devp->config->gyrofullscale |
devp->config->gyrooutdatarate;
-#if LSM6DS0_GYRO_USE_ADVANCED || defined(__DOXYGEN__)
- cr[1] |= devp->config->gyrodecmode;
-#endif
}
/* Control register 2 configuration block.*/
|