Improve LittlevGL frame rates
This commit is contained in:
parent
676a957861
commit
ef943a1ab4
@ -123,7 +123,7 @@
|
|||||||
var the_mp_handle_pending = Module.cwrap('mp_handle_pending', null);
|
var the_mp_handle_pending = Module.cwrap('mp_handle_pending', null);
|
||||||
function handle_pending() {
|
function handle_pending() {
|
||||||
the_mp_handle_pending();
|
the_mp_handle_pending();
|
||||||
setTimeout(handle_pending, 50); // should call lv_task_handler()
|
setTimeout(handle_pending, 10);
|
||||||
}
|
}
|
||||||
/*Initialize the REPL.*/
|
/*Initialize the REPL.*/
|
||||||
mp_js_init_repl();
|
mp_js_init_repl();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user