driver/accelgyro_icm_common.c: Format with clang-format
BRANCH=none
TEST=none
#define CPRINTS(format, args...) cprints(CC_ACCEL, format, ##args)
#ifdef CONFIG_ACCELGYRO_ICM_COMM_SPI
-static int icm_spi_raw_read(const int addr, const uint8_t reg,
- uint8_t *data, const int len)
+static int icm_spi_raw_read(const int addr, const uint8_t reg, uint8_t *data,
+ const int len)
{
uint8_t cmd = 0x80 | reg;
@@ -151,8 +151,7 @@ int icm_read16(const struct motion_sensor_t *s, const int reg, int *data_ptr)
}
}
#else
- ret = i2c_read16(s->port, s->i2c_spi_addr_flags,
- addr, data_ptr);
+ ret = i2c_read16(s->port, s->i2c_spi_addr_flags, addr, data_ptr);
#endif
return ret;
