Skip to content

Commit 7190fc2

Browse files
committed
Fixed log
1 parent 7db8976 commit 7190fc2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lvglwasm.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ const ctx = canvas.getContext('2d');
4747

4848
// Main Loop
4949
const main = function() {
50-
console.log("Main function started");
50+
console.log("main: start");
5151

5252
const loop = function() {
53+
console.log("loop: start");
5354
// TODO: Init LVGL
5455

5556
// Render the LVGL Widgets
@@ -60,8 +61,11 @@ const main = function() {
6061

6162
// loop to next frame. Disabled for now because it slows down the browser.
6263
// TODO: window.requestAnimationFrame(loop);
64+
65+
console.log("loop: end");
6366
};
6467
loop();
68+
console.log("main: end");
6569
};
6670

6771
// Log WebAssembly Messages from Zig to JavaScript Console

0 commit comments

Comments
 (0)