From 2b3b31cb6e181c3bb637caece274526e802db26e Mon Sep 17 00:00:00 2001 From: BPanther Date: Sun, 9 May 2021 21:25:43 +0200 Subject: [PATCH] small fix --- include/cs_frontpanel.h | 2 +- include/version_hal.h | 2 -- libduckbox/hardware_caps.c | 5 +++++ libmipsbox/hardware_caps.c | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/include/cs_frontpanel.h b/include/cs_frontpanel.h index 963cc5a..f5fee15 100644 --- a/include/cs_frontpanel.h +++ b/include/cs_frontpanel.h @@ -274,7 +274,7 @@ typedef enum { FP_LED_3_ON = 0x83, FP_LED_1_OFF = 0x01, FP_LED_2_OFF = 0x02, - FP_LED_3_OFF = 0x03, + FP_LED_3_OFF = 0x03 } fp_led_ctrl_t; typedef struct { diff --git a/include/version_hal.h b/include/version_hal.h index 8bad457..1b17725 100644 --- a/include/version_hal.h +++ b/include/version_hal.h @@ -17,6 +17,4 @@ typedef struct hal_libversion_t void hal_get_lib_version(hal_libversion_t *ver); - #endif //__VERSION_HAL_H__ - diff --git a/libduckbox/hardware_caps.c b/libduckbox/hardware_caps.c index a85f33a..88a98de 100644 --- a/libduckbox/hardware_caps.c +++ b/libduckbox/hardware_caps.c @@ -34,6 +34,7 @@ hw_caps_t *get_hwcaps(void) caps.can_shutdown = 1; caps.has_HDMI = 1; caps.has_SCART = 1; +// caps.has_SCART_input = 1; caps.can_cec = 0; caps.has_fan = 0; caps.has_CI = 2; @@ -51,6 +52,7 @@ hw_caps_t *get_hwcaps(void) caps.can_shutdown = 1; caps.has_HDMI = 1; caps.has_SCART = 1; +// caps.has_SCART_input = 1; caps.can_cec = 1; caps.has_fan = 0; caps.has_CI = 2; @@ -68,6 +70,7 @@ hw_caps_t *get_hwcaps(void) caps.can_shutdown = 1; caps.has_HDMI = 1; caps.has_SCART = 1; +// caps.has_SCART_input = 1; caps.can_cec = 1; caps.has_fan = 0; caps.has_CI = 2; @@ -102,6 +105,7 @@ hw_caps_t *get_hwcaps(void) caps.can_shutdown = 1; caps.has_HDMI = 1; caps.has_SCART = 1; +// caps.has_SCART_input = 1; caps.can_cec = 1; caps.has_fan = 0; caps.has_CI = 2; @@ -119,6 +123,7 @@ hw_caps_t *get_hwcaps(void) caps.can_shutdown = 1; caps.has_HDMI = 1; caps.has_SCART = 1; +// caps.has_SCART_input = 1; caps.can_cec = 0; caps.has_fan = 0; caps.has_CI = 2; diff --git a/libmipsbox/hardware_caps.c b/libmipsbox/hardware_caps.c index 7cd9eb2..f6f3354 100644 --- a/libmipsbox/hardware_caps.c +++ b/libmipsbox/hardware_caps.c @@ -45,6 +45,7 @@ hw_caps_t *get_hwcaps(void) caps.has_button_timer = 1; caps.has_HDMI = 1; caps.has_SCART = 1; +// caps.has_SCART_input = 1; strcpy(caps.startup_file, ""); strcpy(caps.boxvendor, "VU+"); strcpy(caps.boxname, "DUO");