rename assets/epaper.lua to assets/boot.lua
This commit is contained in:
parent
646f1eaf80
commit
45831590dc
4 changed files with 38 additions and 4 deletions
|
|
@ -289,10 +289,10 @@ void app_main(void) {
|
|||
register_http_routes(server);
|
||||
}
|
||||
|
||||
// Run script in assets/epaper.lua; this is executed as a FreeRTOS task
|
||||
// Run script in assets/boot.lua; this is executed as a FreeRTOS task
|
||||
// that may not be interrupted
|
||||
void runLuaFile (void* arg) {
|
||||
run_lua_file("epaper.lua", "E-Paper Startup Script");
|
||||
run_lua_file("boot.lua", "E-Paper Startup Script");
|
||||
vTaskDelete(NULL);
|
||||
}
|
||||
xTaskCreate(runLuaFile, "run_lua_file", 4096, NULL, tskIDLE_PRIORITY, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue