focaltech_0flash_v2_mmi: disable FTS debug config by default

focaltech_0flash_v2_mmi
disable FTS debug config by default

Change-Id: Ib6b0fda454e56053db8e1f3b564abec6327ee38c
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2278176
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
hujing3 2022-05-24 15:45:20 +08:00 • committed by Jing Hu
commit 99e6f06fc2
3 changed files with 13 additions and 0 deletions

View file

@ -15,6 +15,10 @@ ifneq ($(FOCALTECH_ESDCHECK_ENABLE),)
KERNEL_CFLAGS += CONFIG_INPUT_FOCALTECH_ESD_EN=y
endif
ifneq ($(FOCALTECH_DEBUG_ENABLE),)
KERNEL_CFLAGS += CONFIG_INPUT_FOCALTECH_DEBUG_EN=y
endif
ifneq ($(BOARD_USES_PANEL_NOTIFICATIONS),)
KERNEL_CFLAGS += CONFIG_INPUT_FOCALTECH_PANEL_NOTIFICATIONS=y
endif

View file

@ -25,3 +25,8 @@ endif
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_PANEL_NOTIFICATIONS)),)
EXTRA_CFLAGS += -DFOCALTECH_CONFIG_PANEL_NOTIFICATIONS
endif
ifneq ($(filter m y,$(CONFIG_INPUT_FOCALTECH_DEBUG_EN)),)
EXTRA_CFLAGS += -DFOCALTECH_DEBUG_EN
endif

View file

@ -197,7 +197,11 @@
* show debug log info
* enable it for debug, disable it for release
*/
#ifdef FOCALTECH_DEBUG_EN
#define FTS_DEBUG_EN 1
#else
#define FTS_DEBUG_EN 0
#endif
/*
* Linux MultiTouch Protocol