fix(touch): Add missing bit swap to fix channel 8 and 9

This commit is contained in:
Jan Procházka
2025-11-11 14:43:53 +01:00
committed by Kevin (Lao Kaiyao)
parent a4b11386a1
commit 21cb976fd6

View File

@@ -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);
}
/**