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

This commit is contained in:
Julian Oes 2013-08-21 09:52:21 +02:00
parent 658276e1cc
commit 9762cf86a0
1 changed files with 2 additions and 2 deletions

View File

@ -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);