File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ repos:
13
13
args : [--fix=lf]
14
14
- id : trailing-whitespace
15
15
args : [--markdown-linebreak-ext=md]
16
- - repo : https://github.com/pre-commit/mirrors-clang-format
17
- rev : ' v15.0.7'
18
- hooks :
19
- - id : clang-format
20
- files : \.((((c|C)(c|pp|xx|\+\+)?$)|((h|H)h?(pp|xx|\+\+)?$))|(ino))$
21
16
- repo : https://github.com/codespell-project/codespell
22
17
rev : v2.2.4
23
18
hooks :
24
19
- id : codespell
25
20
additional_dependencies :
26
21
- tomli
22
+ - repo : https://github.com/pre-commit/mirrors-clang-format
23
+ rev : ' v15.0.7'
24
+ hooks :
25
+ - id : clang-format
26
+ files : \.((((c|C)(c|pp|xx|\+\+)?$)|((h|H)h?(pp|xx|\+\+)?$))|(ino))$
27
27
- repo : https://github.com/psf/black-pre-commit-mirror
28
28
rev : 22.10.0
29
29
hooks :
Original file line number Diff line number Diff line change 17
17
#include "hal/gpio_hal.h"
18
18
#include "soc/soc_caps.h"
19
19
20
+
20
21
// It fixes lack of pin definition for S3 and for any future SoC
21
22
// this function works for ESP32, ESP32-S2 and ESP32-S3 - including the C3, it will return -1 for any pin
22
23
#if SOC_TOUCH_SENSOR_NUM > 0
You can’t perform that action at this time.
0 commit comments