From 02994964e7bae617b8aca41d110f2746416ca759 Mon Sep 17 00:00:00 2001 From: BPanther Date: Tue, 24 Jan 2023 20:57:12 +0100 Subject: [PATCH] boxname for cec --- libarmbox/hdmi_cec.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libarmbox/hdmi_cec.cpp b/libarmbox/hdmi_cec.cpp index dd6663a..0d2e291 100644 --- a/libarmbox/hdmi_cec.cpp +++ b/libarmbox/hdmi_cec.cpp @@ -40,6 +40,8 @@ #include "hdmi_cec_types.h" #include "hal_debug.h" +#include + #define RED "\x1B[31m" #define GREEN "\x1B[32m" #define NORMAL "\x1B[0m" @@ -168,7 +170,8 @@ bool hdmi_cec::SetCECMode(VIDEO_HDMI_CEC_MODE _deviceType) * takes some time) */ laddrs.cec_version = CEC_OP_CEC_VERSION_2_0; - strcpy(laddrs.osd_name, "neutrino"); + hw_caps_t *caps = get_hwcaps(); + strcpy(laddrs.osd_name, caps->boxname); laddrs.vendor_id = CEC_VENDOR_ID_NONE; switch (deviceType)