Skip to content

Commit

Permalink
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
Browse files Browse the repository at this point in the history
  • Loading branch information
Lindazhxy committed Nov 11, 2022
1 parent 3f2f35b commit 4a6d51e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/driver/esp32s2/include/driver/touch_sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ esp_err_t touch_pad_get_meas_time(uint16_t *sleep_cycle, uint16_t *meas_times)
__attribute__((deprecated("please use 'touch_pad_get_charge_discharge_times' and 'touch_pad_get_measurement_interval' instead")));

/**
* @brief Set connection type of touch channel in idle status.
* @brief Set the connection type of touch channels in idle status.
* When a channel is in measurement mode, other initialized channels are in idle mode.
* The touch channel is generally adjacent to the trace, so the connection state of the idle channel
* affects the stability and sensitivity of the test channel.
Expand All @@ -129,7 +129,7 @@ __attribute__((deprecated("please use 'touch_pad_get_charge_discharge_times' and
esp_err_t touch_pad_set_idle_channel_connect(touch_pad_conn_type_t type);

/**
* @brief Set connection type of touch channel in idle status.
* @brief Get the connection type of touch channels in idle status.
* When a channel is in measurement mode, other initialized channels are in idle mode.
* The touch channel is generally adjacent to the trace, so the connection state of the idle channel
* affects the stability and sensitivity of the test channel.
Expand Down
4 changes: 2 additions & 2 deletions components/driver/esp32s3/include/driver/touch_sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ esp_err_t touch_pad_get_meas_time(uint16_t *sleep_cycle, uint16_t *meas_times)
__attribute__((deprecated("please use 'touch_pad_get_charge_discharge_times' and 'touch_pad_get_measurement_interval' instead")));

/**
* @brief Set connection type of touch channel in idle status.
* @brief Set the connection type of touch channels in idle status.
* When a channel is in measurement mode, other initialized channels are in idle mode.
* The touch channel is generally adjacent to the trace, so the connection state of the idle channel
* affects the stability and sensitivity of the test channel.
Expand All @@ -129,7 +129,7 @@ __attribute__((deprecated("please use 'touch_pad_get_charge_discharge_times' and
esp_err_t touch_pad_set_idle_channel_connect(touch_pad_conn_type_t type);

/**
* @brief Set connection type of touch channel in idle status.
* @brief Get the connection type of touch channels in idle status.
* When a channel is in measurement mode, other initialized channels are in idle mode.
* The touch channel is generally adjacent to the trace, so the connection state of the idle channel
* affects the stability and sensitivity of the test channel.
Expand Down

0 comments on commit 4a6d51e

Please sign in to comment.