mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 03:20:35 +08:00
Forgot to comment mag init in sensors.cpp back back in
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user