Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
887a6712
Commit
887a6712
authored
May 15, 2019
by
Tom Manning
Committed by
Damien George
May 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp32/machine_touchpad: Use HW timer for FSM to enable wake-on-touch.
parent
ab265537
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ports/esp32/machine_touchpad.c
ports/esp32/machine_touchpad.c
+1
-0
No files found.
ports/esp32/machine_touchpad.c
View file @
887a6712
...
...
@@ -69,6 +69,7 @@ STATIC mp_obj_t mtp_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_
static
int
initialized
=
0
;
if
(
!
initialized
)
{
touch_pad_init
();
touch_pad_set_fsm_mode
(
TOUCH_FSM_MODE_TIMER
);
initialized
=
1
;
}
esp_err_t
err
=
touch_pad_config
(
self
->
touchpad_id
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment