diff options
author | Julian Oes <julian@oes.ch> | 2013-08-21 09:52:21 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-08-21 09:52:21 +0200 |
commit | 9762cf86a081f44e7f7ea48f160d556003bf5be9 (patch) | |
tree | f39048ce9d918aa552a5487d8ea8dddb168f4897 /src/modules | |
parent | 658276e1cc5f4639fb09ff41a20b422e6ce33fe3 (diff) | |
download | px4-firmware-9762cf86a081f44e7f7ea48f160d556003bf5be9.tar.gz px4-firmware-9762cf86a081f44e7f7ea48f160d556003bf5be9.tar.bz2 px4-firmware-9762cf86a081f44e7f7ea48f160d556003bf5be9.zip |
Forgot to comment mag init in sensors.cpp back back in
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/sensors/sensors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index 7ea1ae0f3..dda558b4c 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -947,7 +947,7 @@ Sensors::mag_init() /* try different mag sampling rates */ -#if 0 + ret = ioctl(fd, MAGIOCSSAMPLERATE, 150); if (ret == OK) { /* set the pollrate accordingly */ @@ -962,7 +962,7 @@ Sensors::mag_init() errx(1, "FATAL: mag sampling rate could not be set"); } } -#endif + ret = ioctl(fd, MAGIOCGEXTERNAL, 0); |