fix unexpected touch start on RTC peripheral init

This commit is contained in:
boarchuz 2021-10-16 16:05:48 +11:00
parent b86fe0c66c
commit fc27c6609c
3 changed files with 3 additions and 3 deletions

View File

@ -280,8 +280,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

@ -310,8 +310,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

@ -310,8 +310,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;
}
/**