mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-09 06:36:35 +03:00
fix(touch): Add missing bit swap to fix channel 8 and 9
This commit is contained in:
committed by
Kevin (Lao Kaiyao)
parent
a4b11386a1
commit
21cb976fd6
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user