Skip to content

Commit 6144e80

Browse files
committed
Start mp instead of bpp on touch event
1 parent b736ddf commit 6144e80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

esp32/main.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ void app_main(void) {
162162
if (badge_input_button_state == 0) {
163163
printf("Starting bpp.\n");
164164
do_bpp_bgnd();
165-
}
165+
} else {
166+
printf("Touch wake after bpp.\n");
167+
xTaskCreateStaticPinnedToCore(mp_task, "mp_task", MP_TASK_STACK_LEN, NULL, MP_TASK_PRIORITY,
168+
&mp_task_stack[0], &mp_task_tcb, 0);
169+
}
166170
break;
167171
#endif
168172

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy