mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 04:25:32 +00:00
ci: check register half word
This commit is contained in:

committed by
Kevin (Lao Kaiyao)

parent
79fd265c20
commit
c13ac70aa7
@@ -270,7 +270,7 @@ static inline void touch_ll_set_measure_interval_ticks(uint16_t interval_ticks)
|
||||
*/
|
||||
static inline void touch_ll_set_charge_speed(uint32_t touch_num, touch_charge_speed_t charge_speed)
|
||||
{
|
||||
RTCIO.touch_pad[touch_num].dac = charge_speed;
|
||||
RTCIO.touch_pad[touch_num].slope = charge_speed;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -586,7 +586,7 @@ static inline void touch_ll_get_voltage_attenuation(touch_volt_atten_t *atten)
|
||||
*/
|
||||
static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t slope)
|
||||
{
|
||||
RTCIO.touch_pad[touch_num].dac = slope;
|
||||
RTCIO.touch_pad[touch_num].slope = slope;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -601,7 +601,7 @@ static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t s
|
||||
*/
|
||||
static inline void touch_ll_get_slope(touch_pad_t touch_num, touch_cnt_slope_t *slope)
|
||||
{
|
||||
*slope = (touch_cnt_slope_t)RTCIO.touch_pad[touch_num].dac;
|
||||
*slope = (touch_cnt_slope_t)RTCIO.touch_pad[touch_num].slope;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user