mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix unexpected touch start on RTC peripheral init
This commit is contained in:
parent
b86fe0c66c
commit
fc27c6609c
@ -280,8 +280,8 @@ static inline void touch_ll_stop_fsm(void)
|
|||||||
*/
|
*/
|
||||||
static inline void touch_ll_start_sw_meas(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 = 1;
|
||||||
|
SENS.sar_touch_ctrl2.touch_start_en = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -310,8 +310,8 @@ static inline bool touch_ll_get_fsm_state(void)
|
|||||||
*/
|
*/
|
||||||
static inline void touch_ll_start_sw_meas(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 = 1;
|
||||||
|
RTCCNTL.touch_ctrl2.touch_start_en = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -310,8 +310,8 @@ static inline bool touch_ll_get_fsm_state(void)
|
|||||||
*/
|
*/
|
||||||
static inline void touch_ll_start_sw_meas(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 = 1;
|
||||||
|
RTCCNTL.touch_ctrl2.touch_start_en = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user