LSM303D: Update comment why we report as internal always

This commit is contained in:
Lorenz Meier 2015-02-15 16:18:21 +01:00
parent 1e6bec6c77
commit 08aa1ebf17
1 changed files with 4 additions and 1 deletions

View File

@ -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: