diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-15 16:18:21 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-15 19:52:02 +0100 |
commit | 08aa1ebf17c8d97b759e75f3f847cb7aa8ae2ba1 (patch) | |
tree | 8ec214cc6654f8536bef7cd067b6f07ccb5565a7 | |
parent | 1e6bec6c77052f1eae7696c709dbc2edb503aa2b (diff) | |
download | px4-firmware-08aa1ebf17c8d97b759e75f3f847cb7aa8ae2ba1.tar.gz px4-firmware-08aa1ebf17c8d97b759e75f3f847cb7aa8ae2ba1.tar.bz2 px4-firmware-08aa1ebf17c8d97b759e75f3f847cb7aa8ae2ba1.zip |
LSM303D: Update comment why we report as internal always
-rw-r--r-- | src/drivers/lsm303d/lsm303d.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/lsm303d/lsm303d.cpp b/src/drivers/lsm303d/lsm303d.cpp index 85ad74fdb..b5f01b942 100644 --- a/src/drivers/lsm303d/lsm303d.cpp +++ b/src/drivers/lsm303d/lsm303d.cpp @@ -1067,7 +1067,10 @@ LSM303D::mag_ioctl(struct file *filp, int cmd, unsigned long arg) return mag_self_test(); case MAGIOCGEXTERNAL: - /* no external mag board yet */ + /* Even if this sensor is on the "external" SPI bus + * it is still fixed to the autopilot assembly, + * so always return 0. + */ return 0; default: |