sar-sensor: enable the USB_CAL for Sofia_NA/plus

Enable the macro of USB_CAL,
sar-sensor will be calibrated when USB plug.

Change-Id: Ifa90c54da8d22580975829f5c0c5ccaa0372fcd1
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1418438
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
huangjq9 2019-09-10 10:39:25 +08:00 • committed by Jianqiu Huang
commit 07675b1874

View file

@ -10,6 +10,10 @@ ifneq (,$(filter doha%,$(TARGET_PRODUCT)))
EXTRA_CFLAGS += -DCONFIG_CAPSENSE_USB_CAL
endif
ifneq (,$(filter sofia%,$(TARGET_PRODUCT)))
EXTRA_CFLAGS += -DCONFIG_CAPSENSE_USB_CAL
endif
ifneq (,$(filter odin%,$(TARGET_PRODUCT)))
EXTRA_CFLAGS += -DCONFIG_CAPSENSE_USB_CAL \
-DCONFIG_CAPSENSE_ATTACH_CAL