mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 16:59:15 +02:00
whoops
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ uint8_t init_lua(RDSEncoder* _enc) {
|
|||||||
if (luaL_loadfile(L, "/etc/rds95.lua") != LUA_OK) {
|
if (luaL_loadfile(L, "/etc/rds95.lua") != LUA_OK) {
|
||||||
fprintf(stderr, "Lua error loading file: %s\n", lua_tostring(L, -1));
|
fprintf(stderr, "Lua error loading file: %s\n", lua_tostring(L, -1));
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
return;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
if (lua_pcall(L, 0, 0, 0) != LUA_OK) {
|
if (lua_pcall(L, 0, 0, 0) != LUA_OK) {
|
||||||
printf("Init error: %s\n", lua_tostring(L, -1));
|
printf("Init error: %s\n", lua_tostring(L, -1));
|
||||||
|
|||||||
Reference in New Issue
Block a user