diff options
author | Holger Steinhaus <holger@steinhaus-home.de> | 2014-11-11 11:20:03 +0100 |
---|---|---|
committer | Holger Steinhaus <holger@steinhaus-home.de> | 2014-11-13 16:17:35 +0100 |
commit | 0fa622f22b90048ad366ac304c2c9339a5c376d3 (patch) | |
tree | 8358a1b9b4a67ddacfdd0d0c0325995b2aba8981 | |
parent | 4d489ef7f4c7626a86b700b6d7144e35000ce387 (diff) | |
download | px4-firmware-0fa622f22b90048ad366ac304c2c9339a5c376d3.tar.gz px4-firmware-0fa622f22b90048ad366ac304c2c9339a5c376d3.tar.bz2 px4-firmware-0fa622f22b90048ad366ac304c2c9339a5c376d3.zip |
UAVCAN: declare mag external again to allow different rotation than the internal mag
-rw-r--r-- | src/modules/uavcan/sensors/mag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/uavcan/sensors/mag.cpp b/src/modules/uavcan/sensors/mag.cpp index 4f56038b5..4d473291c 100644 --- a/src/modules/uavcan/sensors/mag.cpp +++ b/src/modules/uavcan/sensors/mag.cpp @@ -89,7 +89,7 @@ int UavcanMagnetometerBridge::ioctl(struct file *filp, int cmd, unsigned long ar return 0; // Nothing to do } case MAGIOCGEXTERNAL: { - return 0; // We don't want anyone to transform the coordinate frame, so we declare it onboard + return 1; // We don't want anyone to transform the coordinate frame, so we declare it onboard } case MAGIOCSSAMPLERATE: { return 0; // Pretend that this stuff is supported to keep the sensor app happy |