include/driver/accelgyro_bmi260.h: Format with clang-format
BRANCH=none
TEST=none
#define BMI260_TAP_1 0x3e
#define BMI260_TAP_1_EN BIT(0)
#define BMI260_TAP_1_SENSITIVITY_OFFSET 1
-#define BMI260_TAP_1_SENSITIVITY_MASK \
- (0x7 << BMI260_TAP_1_SENSITIVITY_OFFSET)
+#define BMI260_TAP_1_SENSITIVITY_MASK (0x7 << BMI260_TAP_1_SENSITIVITY_OFFSET)
/* Features page 2 */
#define BMI260_ORIENT_1 0x30
#define BMI260_FIFO_ACC_EN BIT(6)
#define BMI260_FIFO_GYR_EN BIT(7)
#define BMI260_FIFO_SENSOR_EN(_sensor) \
- ((_sensor) == MOTIONSENSE_TYPE_ACCEL ? BMI260_FIFO_ACC_EN : \
+ ((_sensor) == MOTIONSENSE_TYPE_ACCEL ? \
+ BMI260_FIFO_ACC_EN : \
((_sensor) == MOTIONSENSE_TYPE_GYRO ? BMI260_FIFO_GYR_EN : \
BMI260_FIFO_AUX_EN))
#define BMI260_INT_MAP_DATA_INT1_OFFSET 0
#define BMI260_INT_MAP_DATA_INT2_OFFSET 4
#define BMI260_INT_MAP_DATA_REG(_i, _bit) \
- (CONCAT3(BMI260_MAP_, _bit, _INT) << \
- CONCAT3(BMI260_INT_MAP_DATA_INT, _i, _OFFSET))
+ (CONCAT3(BMI260_MAP_, _bit, _INT) \
+ << CONCAT3(BMI260_INT_MAP_DATA_INT, _i, _OFFSET))
#define BMI260_INIT_CTRL 0x59
#define BMI260_INIT_ADDR_0 0x5b
