Convert the main menu screen to lua lol

This commit is contained in:
jacqueline
2023-11-12 19:14:09 +11:00
parent 8471046a95
commit 8a0a167adb
206 changed files with 42303 additions and 183 deletions
+36
View File
@@ -0,0 +1,36 @@
local function testCrash()
print(nil .. "")
end
local function testCrash2()
testCrash()
end
local function testCrash3()
testCrash2()
end
local function testCrash4()
testCrash3()
end
local function testCrash5()
testCrash4()
end
local function testCrash6()
testCrash5()
end
lvgl.Label(nil, {
text = "crash in 1 second.",
align = lvgl.ALIGN.CENTER
})
lvgl.Timer {
period = 1000,
cb = function(t)
t:delete()
-- crash in callback function is protected.
testCrash6()
end
}