summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/accel_cal.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/accel_cal.c b/test/accel_cal.c
index de46822711..34fd5678c2 100644
--- a/test/accel_cal.c
+++ b/test/accel_cal.c
@@ -30,11 +30,11 @@ struct accel_cal cal = {
static bool accumulate(float x, float y, float z, float temperature)
{
return accel_cal_accumulate(&cal, 0, x, y, z, temperature)
- | accel_cal_accumulate(&cal, 200 * MSEC, x, y, z, temperature)
- | accel_cal_accumulate(&cal, 400 * MSEC, x, y, z, temperature)
- | accel_cal_accumulate(&cal, 600 * MSEC, x, y, z, temperature)
- | accel_cal_accumulate(&cal, 800 * MSEC, x, y, z, temperature)
- | accel_cal_accumulate(&cal, 1000 * MSEC, x, y, z, temperature);
+ || accel_cal_accumulate(&cal, 200 * MSEC, x, y, z, temperature)
+ || accel_cal_accumulate(&cal, 400 * MSEC, x, y, z, temperature)
+ || accel_cal_accumulate(&cal, 600 * MSEC, x, y, z, temperature)
+ || accel_cal_accumulate(&cal, 800 * MSEC, x, y, z, temperature)
+ || accel_cal_accumulate(&cal, 1000 * MSEC, x, y, z, temperature);
}
DECLARE_EC_TEST(test_calibrated_correctly_with_kasa)