From 90df55123b88a848e84681dcc8bd49bd07ae7d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 14 Jun 2017 11:20:01 +0200 Subject: [PATCH] lps25h_spi.cpp: remove MAGIOCGEXTERNAL ioctl Because it's a baro driver, not a mag. --- src/drivers/lps25h/lps25h_spi.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/drivers/lps25h/lps25h_spi.cpp b/src/drivers/lps25h/lps25h_spi.cpp index 3ace32dd45..421ff68bc9 100644 --- a/src/drivers/lps25h/lps25h_spi.cpp +++ b/src/drivers/lps25h/lps25h_spi.cpp @@ -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);