zephyr/shim/src/motionsense_driver/drvdata-accelgyro.h: Format with clang-format
BRANCH=none
TEST=none
{ \
.k_channel_scale = \
ALS_CHANNEL_SCALE(DT_PROP(id, k_channel_scale)), \
- .cover_scale = \
- ALS_CHANNEL_SCALE(DT_PROP(id, cover_scale)), \
+ .cover_scale = ALS_CHANNEL_SCALE(DT_PROP(id, cover_scale)), \
}
#define ALS_CALIBRATION_CHANNEL_SCALE(id) \
ALS_CALIBRATION_SET(DT_CHILD(id, als_cal)) \
}
-#define RGB_CAL_RGB_SET_SCALE(id) \
- .scale = ACCELGYRO_ALS_CHANNEL_SCALE(id),
+#define RGB_CAL_RGB_SET_SCALE(id) .scale = ACCELGYRO_ALS_CHANNEL_SCALE(id),
#define RGB_CAL_RGB_SET_ONE(id, suffix) \
.rgb_cal[suffix] = { \
{ \
RGB_CAL_RGB_SET_ONE(DT_CHILD(id, rgb_cal_x), X) \
RGB_CAL_RGB_SET_ONE(DT_CHILD(id, rgb_cal_y), Y) \
- RGB_CAL_RGB_SET_ONE(DT_CHILD(id, rgb_cal_z), Z) \
- .irt = INT_TO_FP(DT_PROP(id, irt)), \
+ RGB_CAL_RGB_SET_ONE(DT_CHILD(id, rgb_cal_z), Z).irt = \
+ INT_TO_FP(DT_PROP(id, irt)), \
}
#endif /* __ZEPHYR_SHIM_SRC_MOTIONSENSE_DRIVER_DRVDATA_ACCELGYRO_H */
