mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
feat(touch): support touch driver on p4 (soc)
This commit is contained in:

committed by
Kevin (Lao Kaiyao)

parent
dd5b091a8b
commit
f35ec64a0b
@@ -142,7 +142,7 @@ void touch_hal_sleep_channel_enable(touch_pad_t pad_num, bool enable)
|
||||
{
|
||||
if (enable) {
|
||||
touch_ll_sleep_set_channel_num(pad_num);
|
||||
touch_ll_sleep_set_threshold(SOC_TOUCH_PAD_THRESHOLD_MAX);
|
||||
touch_ll_sleep_set_threshold(TOUCH_PAD_THRESHOLD_MAX);
|
||||
touch_ll_sleep_reset_benchmark();
|
||||
} else {
|
||||
touch_ll_sleep_set_channel_num(TOUCH_PAD_NUM0);
|
||||
|
Reference in New Issue
Block a user