Skip to content

Commit 6e4ec39

Browse files
esp32: Fix.
1 parent d180810 commit 6e4ec39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ports/esp32/machine_touchpad.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ typedef struct _mtp_obj_t {
5858
int touchpad_id;
5959
#endif
6060
} mtp_obj_t;
61+
6162
#if SOC_TOUCH_SENSOR_VERSION == 3
62-
static touch_sensor_handle_t s_sens_handle = NULL;
63-
static touch_channel_handle_t s_chan_handle[15] = {};
63+
touch_sensor_handle_t s_sens_handle = NULL;
64+
touch_channel_handle_t s_chan_handle[15] = {};
6465
uint32_t benchmark[14] = {};
6566
int i;
6667
#endif

0 commit comments

Comments
 (0)