mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 16:59:15 +02:00
uh huh... this is getting boring
This commit is contained in:
+1
-1
@@ -157,7 +157,7 @@ uint8_t init_lua(RDSEncoder* _enc) {
|
|||||||
|
|
||||||
lua_registertotable(globalL, "encode_group", lua_encode_group);
|
lua_registertotable(globalL, "encode_group", lua_encode_group);
|
||||||
|
|
||||||
lua_setglobal(globalL, "rds");
|
lua_setglobal(globalL, "RDS");
|
||||||
|
|
||||||
if (luaL_loadfile(globalL, "/etc/rds95.lua") != LUA_OK) {
|
if (luaL_loadfile(globalL, "/etc/rds95.lua") != LUA_OK) {
|
||||||
fprintf(stderr, "Lua error loading file: %s\n", lua_tostring(globalL, -1));
|
fprintf(stderr, "Lua error loading file: %s\n", lua_tostring(globalL, -1));
|
||||||
|
|||||||
Reference in New Issue
Block a user