mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 15:13:34 +08:00
LSM303D: Update comment why we report as internal always
This commit is contained in:
@@ -1067,7 +1067,10 @@ LSM303D::mag_ioctl(struct file *filp, int cmd, unsigned long arg)
|
|||||||
return mag_self_test();
|
return mag_self_test();
|
||||||
|
|
||||||
case MAGIOCGEXTERNAL:
|
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;
|
return 0;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user