aboutsummaryrefslogtreecommitdiffstats
path: root/tests/power/power_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/power/power_test.c')
-rw-r--r--tests/power/power_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/power/power_test.c b/tests/power/power_test.c
index 8df6d693..dbae8fa6 100644
--- a/tests/power/power_test.c
+++ b/tests/power/power_test.c
@@ -68,11 +68,11 @@ static void test_power_loop(void)
apply_power_test(lchan, -100, 1, 0);
/* Fix it and jump down */
- lchan->ms_power_ctrl.fixed = 1;
+ lchan->ms_power_ctrl.fixed = true;
apply_power_test(lchan, -60, 0, 0);
/* And leave it again */
- lchan->ms_power_ctrl.fixed = 0;
+ lchan->ms_power_ctrl.fixed = false;
apply_power_test(lchan, -40, 1, 15);
}