diff options
author | Julian Oes <julian@oes.ch> | 2013-08-21 14:21:11 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-08-21 14:21:11 +0200 |
commit | 8083efb60c97ffce5be8dcbf3956ab67cc17d729 (patch) | |
tree | fd2751e60e7714545690a5a9d9f59e68503ccbd9 /src | |
parent | 7db420b9b222e6114e2cb6ffb5d726a946dd07c6 (diff) | |
download | px4-firmware-8083efb60c97ffce5be8dcbf3956ab67cc17d729.tar.gz px4-firmware-8083efb60c97ffce5be8dcbf3956ab67cc17d729.tar.bz2 px4-firmware-8083efb60c97ffce5be8dcbf3956ab67cc17d729.zip |
Use gyro at correct rate
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/sensors/sensors.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index dda558b4c..2ffa5f698 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -919,11 +919,11 @@ Sensors::gyro_init() #else - /* set the gyro internal sampling rate up to at leat 800Hz */ - ioctl(fd, GYROIOCSSAMPLERATE, 800); + /* set the gyro internal sampling rate up to at least 760Hz */ + ioctl(fd, GYROIOCSSAMPLERATE, 760); - /* set the driver to poll at 800Hz */ - ioctl(fd, SENSORIOCSPOLLRATE, 800); + /* set the driver to poll at 760Hz */ + ioctl(fd, SENSORIOCSPOLLRATE, 760); #endif |