driver/accelgyro_icm_common.h: Format with clang-format
BRANCH=none
TEST=none
@@ -35,10 +35,8 @@ struct icm_drv_data_t {
uint8_t fifo_buffer[ICM_FIFO_BUFFER] __aligned(sizeof(long));
};
-#define ICM_GET_DATA(_s) \
- ((struct icm_drv_data_t *)(_s)->drv_data)
-#define ICM_GET_SAVED_DATA(_s) \
- (&ICM_GET_DATA(_s)->saved_data[(_s)->type])
+#define ICM_GET_DATA(_s) ((struct icm_drv_data_t *)(_s)->drv_data)
+#define ICM_GET_SAVED_DATA(_s) (&ICM_GET_DATA(_s)->saved_data[(_s)->type])
/*
* Virtual register address is 16 bits:
@@ -125,8 +123,7 @@ static inline void icm_reset_stabilize_ts(const struct motion_sensor_t *s)
st->stabilize_ts[s->type] = 0;
}
-static inline
-int32_t icm_get_sensor_stabilized(const struct motion_sensor_t *s,
+static inline int32_t icm_get_sensor_stabilized(const struct motion_sensor_t *s,
uint32_t ts)
{
struct icm_drv_data_t *st = ICM_GET_DATA(s);
