Skip to content

Commit f691a42

Browse files
committed
fix(touch): Add missing include
1 parent 7143d08 commit f691a42

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

cores/esp32/esp32-hal-touch-ng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
#include "soc/soc_caps.h"
15+
#include "esp_idf_version.h"
1516

1617
#if SOC_TOUCH_SENSOR_SUPPORTED
1718
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0) || SOC_TOUCH_SENSOR_VERSION == 3

cores/esp32/esp32-hal-touch-ng.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#define MAIN_ESP32_HAL_TOUCH_NEW_H_
2222

2323
#include "soc/soc_caps.h"
24+
#include "esp_idf_version.h"
2425

2526
#if SOC_TOUCH_SENSOR_SUPPORTED
2627
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0) || SOC_TOUCH_SENSOR_VERSION == 3

cores/esp32/esp32-hal-touch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
#include "soc/soc_caps.h"
15+
#include "esp_idf_version.h"
1516

1617
#if SOC_TOUCH_SENSOR_SUPPORTED
1718
#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 5, 0) && SOC_TOUCH_SENSOR_VERSION <= 2 // ESP32, ESP32S2, ESP32S3

cores/esp32/esp32-hal-touch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#define MAIN_ESP32_HAL_TOUCH_H_
2222

2323
#include "soc/soc_caps.h"
24+
#include "esp_idf_version.h"
2425

2526
#if SOC_TOUCH_SENSOR_SUPPORTED
2627
#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 5, 0) && SOC_TOUCH_SENSOR_VERSION <= 2 // ESP32, ESP32S2, ESP32S3

0 commit comments

Comments
 (0)