transition tot kernel

This commit is contained in:
kepler155c@gmail.com
2018-01-11 20:53:32 -05:00
parent d224f5df25
commit fc8d44b60d
19 changed files with 425 additions and 366 deletions

View File

@@ -1,4 +1,4 @@
if device.wireless_modem then
if _G.device.wireless_modem then
_G.requireInjector()
local Config = require('config')
@@ -7,11 +7,8 @@ if device.wireless_modem then
Config.load('gps', config)
if config.host and type(config.host) == 'table' then
multishell.setTitle(multishell.getCurrent(), 'GPS Daemon')
os.run(getfenv(1), '/rom/programs/gps', 'host', config.host.x, config.host.y, config.host.z)
_ENV._APP_TITLE = 'GPS Daemon'
os.run(_ENV, '/rom/programs/gps', 'host', config.host.x, config.host.y, config.host.z)
print('GPS daemon stopped')
end
end