From 3e15eb44abcd1efd59a88ec197eb75cc3eea949e Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sat, 28 Aug 2021 16:39:38 +0300 Subject: [PATCH] touch: rename 4th panel so it's not confused with errors --- bdk/input/touch.c | 2 +- bdk/input/touch.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bdk/input/touch.c b/bdk/input/touch.c index 17d31b3..2aba0e4 100644 --- a/bdk/input/touch.c +++ b/bdk/input/touch.c @@ -39,7 +39,7 @@ static touch_panel_info_t _panels[] = { 1, 0, 1, 1, "GiS GGM6 B2X" }, { 2, 0, 0, 0, "NISSHA NBF-K9A" }, { 3, 1, 0, 0, "GiS 5.5\"" }, - { 4, 0, 0, 1, "Unknown" }, + { 4, 0, 0, 1, "Unknown_001" }, { -1, 1, 0, 1, "GiS VA 6.2\"" } }; diff --git a/bdk/input/touch.h b/bdk/input/touch.h index 3345faa..871659e 100644 --- a/bdk/input/touch.h +++ b/bdk/input/touch.h @@ -53,6 +53,7 @@ #define STMFTS_RW_FRAMEBUFFER_REG 0xD0 #define STMFTS_SAVE_CX_TUNING 0xFC +#define STMFTS_DETECTION_CONFIG 0xB0 #define STMFTS_REQU_COMP_DATA 0xB8 #define STMFTS_VENDOR 0xCF #define STMFTS_FLASH_UNLOCK 0xF7