forked from espressif/esp-idf
fix(touch): fix unexpected touch start on RTC peripheral init
Merges https://github.com/espressif/esp-idf/pull/7707
This commit is contained in:
committed by
Kevin (Lao Kaiyao)
parent
1f84180a1b
commit
2ec93b3394
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user