refactor(touch): refactor the legacy s2 & s3 touch driver

This commit is contained in:
laokaiyao
2024-10-17 18:18:54 +08:00
committed by Kevin (Lao Kaiyao)
parent 1cd9dd5001
commit 6856aec19e
13 changed files with 1757 additions and 1676 deletions
+11
View File
@@ -152,4 +152,15 @@ menu "Driver Configurations"
and don't want to see related deprecation warnings, you can enable this option.
endmenu # Legacy Temperature Sensor Driver Configurationss
menu "Legacy Touch Sensor Driver Configurations"
depends on SOC_TOUCH_SENSOR_SUPPORTED
config TOUCH_SUPPRESS_DEPRECATE_WARN
bool "Suppress legacy driver deprecated warning"
default n
help
whether to suppress the deprecation warnings when using legacy touch sensor driver
(driver/touch_sensor.h). If you want to continue using the legacy driver,
and don't want to see related deprecation warnings, you can enable this option.
endmenu # Legacy Touch Sensor Driver Configurationss
endmenu # Driver configurations