Browse Source

Forgot to comment mag init in sensors.cpp back back in

sbg
Julian Oes 12 years ago
parent
commit
9762cf86a0
  1. 4
      src/modules/sensors/sensors.cpp

4
src/modules/sensors/sensors.cpp

@ -947,7 +947,7 @@ Sensors::mag_init()
/* try different mag sampling rates */ /* try different mag sampling rates */
#if 0
ret = ioctl(fd, MAGIOCSSAMPLERATE, 150); ret = ioctl(fd, MAGIOCSSAMPLERATE, 150);
if (ret == OK) { if (ret == OK) {
/* set the pollrate accordingly */ /* set the pollrate accordingly */
@ -962,7 +962,7 @@ Sensors::mag_init()
errx(1, "FATAL: mag sampling rate could not be set"); errx(1, "FATAL: mag sampling rate could not be set");
} }
} }
#endif
ret = ioctl(fd, MAGIOCGEXTERNAL, 0); ret = ioctl(fd, MAGIOCGEXTERNAL, 0);

Loading…
Cancel
Save