diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-10-02 11:40:33 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-10-02 11:40:33 +0200 |
commit | ba9395c025e297a9aa953481663fd4fb75a64a1d (patch) | |
tree | 68874d5297e3d692723e9081868db9def00a8d5f /utils/cec-compliance/cec-test.cpp | |
parent | 2bce951d7b7b23a7bb1a24f962cd843c8a988c84 (diff) |
cec-compliance/follower: use new CEC_OP_UI_CMD defines
Some more places were these UI commands are hardcoded. Use the new
CEC_OP_UI_CMD defines instead.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/cec-compliance/cec-test.cpp')
-rw-r--r-- | utils/cec-compliance/cec-test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp index aece546c..017d1ef8 100644 --- a/utils/cec-compliance/cec-test.cpp +++ b/utils/cec-compliance/cec-test.cpp @@ -537,7 +537,7 @@ static int rc_passthrough_user_ctrl_pressed(struct node *node, unsigned me, unsi struct cec_op_ui_command rc_press; cec_msg_init(&msg, me, la); - rc_press.ui_cmd = 0x41; // Volume up key (the key is not crucial here) + rc_press.ui_cmd = CEC_OP_UI_CMD_VOLUME_UP; // Volume up key (the key is not crucial here) cec_msg_user_control_pressed(&msg, &rc_press); fail_on_test(!transmit_timeout(node, &msg)); /* Mandatory for all except devices which have taken logical address 15 */ |