common/accel_cal.c: Format with clang-format
BRANCH=none
TEST=none
@@ -27,13 +27,13 @@ static inline int compute_temp_gate(const struct accel_cal *cal, fp_t temp)
INT_TO_FP(cal->num_temp_windows)),
TEMP_RANGE);
- return gate < cal->num_temp_windows
- ? gate : (cal->num_temp_windows - 1);
+ return gate < cal->num_temp_windows ? gate :
+ (cal->num_temp_windows - 1);
}
-test_mockable bool accel_cal_accumulate(
- struct accel_cal *cal, uint32_t timestamp, fp_t x, fp_t y, fp_t z,
- fp_t temp)
+test_mockable bool accel_cal_accumulate(struct accel_cal *cal,
+ uint32_t timestamp, fp_t x, fp_t y,
+ fp_t z, fp_t temp)
{
struct accel_cal_algo *algo;
