From cdf941e78bd24303e03cdd6b8b6cf74eecf5a323 Mon Sep 17 00:00:00 2001 From: Kevin Lopez Alvarez Date: Thu, 18 May 2017 12:53:25 +0200 Subject: [PATCH] Fix code style --- src/drivers/boards/px4fmu-v4pro/px4fmu_spi.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/drivers/boards/px4fmu-v4pro/px4fmu_spi.c b/src/drivers/boards/px4fmu-v4pro/px4fmu_spi.c index 9a4196412a..fc6c4ebf94 100644 --- a/src/drivers/boards/px4fmu-v4pro/px4fmu_spi.c +++ b/src/drivers/boards/px4fmu-v4pro/px4fmu_spi.c @@ -100,13 +100,15 @@ __EXPORT void stm32_spi1select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, /* SPI select is active low, so write !selected to select the device */ switch (devid) { - + case PX4_SPIDEV_ICM: + /* Intended fallthrough */ - + case PX4_SPIDEV_ICM_20602: + /* Intended fallthrough */ - + case PX4_SPIDEV_ICM_20608: /* Making sure the other peripherals are not selected */