From 44351d357df7c463915ef2b7277fc9ea13ef574e Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Thu, 1 Aug 2024 11:31:49 +0200 Subject: [PATCH] ccmp25-dvk: fix LED area position The position of the LED on the dashboard wasn't matching the real position of the LED on the DVK Signed-off-by: Gabriel Valcazar --- connectcore-demo-example/static/js/ccmp255-dvk.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectcore-demo-example/static/js/ccmp255-dvk.js b/connectcore-demo-example/static/js/ccmp255-dvk.js index 6579c62..546e574 100644 --- a/connectcore-demo-example/static/js/ccmp255-dvk.js +++ b/connectcore-demo-example/static/js/ccmp255-dvk.js @@ -143,8 +143,8 @@ class CCMP255 extends ConnectCoreDevice { LED_COMPONENT_PANEL_ORIENTATION = VALUE_BOTTOM; LED_COMPONENT_PANEL_HORIZONTAL_PERCENT = 69; LED_COMPONENT_PANEL_VERTICAL_PERCENT = 10; - LED_COMPONENT_AREA_TOP_PERCENT = 26; - LED_COMPONENT_AREA_LEFT_PERCENT = 10; + LED_COMPONENT_AREA_TOP_PERCENT = 89; + LED_COMPONENT_AREA_LEFT_PERCENT = 68; LED_COMPONENT_AREA_WIDTH_PERCENT = 1.8; LED_COMPONENT_AREA_HEIGHT_PERCENT = 4;