From 1a9c2891e7759f75616f3341d7199977df77638a Mon Sep 17 00:00:00 2001 From: MJ666 Date: Mon, 7 Jan 2019 15:50:58 +0100 Subject: [PATCH] Fix indentation --- src/main/sensors/compass.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/sensors/compass.c b/src/main/sensors/compass.c index 8e9b8657c..37b919686 100644 --- a/src/main/sensors/compass.c +++ b/src/main/sensors/compass.c @@ -176,7 +176,7 @@ bool compassDetect(magDev_t *dev) case MAG_HMC5883: #if defined(USE_MAG_HMC5883) || defined(USE_MAG_SPI_HMC5883) if (busdev->bustype == BUSTYPE_I2C) { - busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; + busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; } if (hmc5883lDetect(dev)) { @@ -192,7 +192,7 @@ bool compassDetect(magDev_t *dev) case MAG_LIS3MDL: #if defined(USE_MAG_LIS3MDL) if (busdev->bustype == BUSTYPE_I2C) { - busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; + busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; } if (lis3mdlDetect(dev)) { @@ -208,7 +208,7 @@ bool compassDetect(magDev_t *dev) case MAG_AK8975: #ifdef USE_MAG_AK8975 if (busdev->bustype == BUSTYPE_I2C) { - busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; + busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; } if (ak8975Detect(dev)) { @@ -245,7 +245,7 @@ bool compassDetect(magDev_t *dev) case MAG_QMC5883: #ifdef USE_MAG_QMC5883 if (busdev->bustype == BUSTYPE_I2C) { - busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; + busdev->busdev_u.i2c.address = compassConfig()->mag_i2c_address; } if (qmc5883lDetect(dev)) {