From 21cb976fd6dadc937d4db7dc7067e9f72ccb66c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Proch=C3=A1zka?= Date: Tue, 11 Nov 2025 14:43:53 +0100 Subject: [PATCH] fix(touch): Add missing bit swap to fix channel 8 and 9 --- components/hal/esp32/include/hal/touch_sensor_ll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/hal/esp32/include/hal/touch_sensor_ll.h b/components/hal/esp32/include/hal/touch_sensor_ll.h index 357399fe1ad..9f1ef2167bb 100644 --- a/components/hal/esp32/include/hal/touch_sensor_ll.h +++ b/components/hal/esp32/include/hal/touch_sensor_ll.h @@ -327,7 +327,7 @@ static inline void touch_ll_set_init_charge_voltage(uint32_t touch_num, touch_in */ static inline void touch_ll_enable_channel_mask(uint16_t enable_mask) { - SENS.sar_touch_enable.touch_pad_worken = enable_mask; + SENS.sar_touch_enable.touch_pad_worken = TOUCH_LL_BITS_SWAP(enable_mask); } /**