aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-test-power.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cec-compliance/cec-test-power.cpp')
-rw-r--r--utils/cec-compliance/cec-test-power.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-compliance/cec-test-power.cpp b/utils/cec-compliance/cec-test-power.cpp
index 26b0c65c..e82e419a 100644
--- a/utils/cec-compliance/cec-test-power.cpp
+++ b/utils/cec-compliance/cec-test-power.cpp
@@ -428,7 +428,7 @@ static int wakeup_rc(struct node *node, unsigned me, unsigned la)
/* Todo: A release should be sent after this */
cec_msg_init(&msg, me, la);
- rc_press.ui_cmd = 0x6D; /* Power On Function */
+ rc_press.ui_cmd = CEC_OP_UI_CMD_POWER_ON_FUNCTION;
cec_msg_user_control_pressed(&msg, &rc_press);
fail_on_test(!transmit_timeout(node, &msg));
fail_on_test(cec_msg_status_is_abort(&msg));

Privacy Policy