lps25h_spi.cpp: remove MAGIOCGEXTERNAL ioctl

Because it's a baro driver, not a mag.
This commit is contained in:
Beat Küng
2017-06-14 11:20:01 +02:00
committed by Lorenz Meier
parent ce7d8d2270
commit 90df55123b
-8
View File
@@ -135,14 +135,6 @@ LPS25H_SPI::ioctl(unsigned operation, unsigned &arg)
switch (operation) {
case MAGIOCGEXTERNAL:
/*
* Even if this sensor is on the external SPI
* bus it is still internal to the autopilot
* assembly, so always return 0 for internal.
*/
return 0;
case DEVIOCGDEVICEID:
return CDev::ioctl(nullptr, operation, arg);