feat(touch): support touch v1 in new touch driver

This commit is contained in:
laokaiyao
2025-01-08 13:06:05 +08:00
parent 057bae82e1
commit fd7b80833c
39 changed files with 1950 additions and 631 deletions

View File

@@ -581,7 +581,7 @@ esp_err_t touch_pad_sleep_get_channel_num(touch_pad_t *pad_num)
{
TOUCH_NULL_POINTER_CHECK(pad_num, "pad_num");
TOUCH_ENTER_CRITICAL();
touch_hal_sleep_get_channel_num(pad_num);
touch_hal_sleep_get_channel_num((uint32_t *)pad_num);
TOUCH_EXIT_CRITICAL();
return ESP_OK;
}