hdmi_cec.cpp: fix caps shadowed declaration

Origin commit data
------------------
Branch: master
Commit: 7ea49af077
Author: max_10 <max_10@gmx.de>
Date: 2023-01-25 (Wed, 25 Jan 2023)

Origin message was:
------------------
- hdmi_cec.cpp: fix caps shadowed declaration

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2023-01-25 13:42:16 +01:00
committed by vanhofen
parent b0c9413898
commit 4a1cff32f8

View File

@@ -170,8 +170,8 @@ bool hdmi_cec::SetCECMode(VIDEO_HDMI_CEC_MODE _deviceType)
* takes some time)
*/
laddrs.cec_version = CEC_OP_CEC_VERSION_2_0;
hw_caps_t *caps = get_hwcaps();
strcpy(laddrs.osd_name, caps->boxname);
hw_caps_t *_caps = get_hwcaps();
strcpy(laddrs.osd_name, _caps->boxname);
laddrs.vendor_id = CEC_VENDOR_ID_NONE;
switch (deviceType)