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

This commit is contained in:
laokaiyao
2025-01-10 16:42:22 +08:00
parent 057bae82e1
commit fd7b80833c
39 changed files with 1950 additions and 631 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ void touch_hal_sleep_channel_enable(touch_pad_t pad_num, bool enable)
void touch_hal_sleep_channel_get_config(touch_pad_sleep_channel_t *slp_config)
{
touch_ll_sleep_get_channel_num(&slp_config->touch_num);
touch_ll_sleep_get_channel_num((uint32_t *)&slp_config->touch_num);
slp_config->en_proximity = touch_ll_sleep_is_proximity_enabled();
}