fix(touch): fix unexpected touch start on RTC peripheral init

Merges https://github.com/espressif/esp-idf/pull/7707
This commit is contained in:
boarchuz
2021-10-16 16:05:48 +11:00
committed by Kevin (Lao Kaiyao)
parent 1f84180a1b
commit 2ec93b3394
3 changed files with 3 additions and 3 deletions

View File

@@ -681,8 +681,8 @@ static inline void touch_ll_stop_fsm(void)
*/
static inline void touch_ll_start_sw_meas(void)
{
SENS.sar_touch_ctrl2.touch_start_en = 0;
SENS.sar_touch_ctrl2.touch_start_en = 1;
SENS.sar_touch_ctrl2.touch_start_en = 0;
}
/**

View File

@@ -1061,8 +1061,8 @@ static inline bool touch_ll_get_fsm_state(void)
*/
static inline void touch_ll_start_sw_meas(void)
{
RTCCNTL.touch_ctrl2.touch_start_en = 0;
RTCCNTL.touch_ctrl2.touch_start_en = 1;
RTCCNTL.touch_ctrl2.touch_start_en = 0;
}
/**

View File

@@ -1086,8 +1086,8 @@ static inline bool touch_ll_get_fsm_state(void)
*/
static inline void touch_ll_start_sw_meas(void)
{
RTCCNTL.touch_ctrl2.touch_start_en = 0;
RTCCNTL.touch_ctrl2.touch_start_en = 1;
RTCCNTL.touch_ctrl2.touch_start_en = 0;
}
/**