1
0
mirror of https://github.com/kepler155c/opus synced 2024-06-14 09:26:54 +00:00

web running os

This commit is contained in:
kepler155c@gmail.com 2017-05-21 03:55:53 -04:00
parent 9e25c4ca0c
commit 00c96a096b

View File

@ -137,7 +137,7 @@ end
-- every 10 seconds, send out this computer's info -- every 10 seconds, send out this computer's info
process:newThread('discovery_heartbeat', function() process:newThread('discovery_heartbeat', function()
os.sleep(1) --os.sleep(1)
while true do while true do
sendInfo() sendInfo()
@ -157,7 +157,6 @@ end)
if os.isTurtle() then if os.isTurtle() then
process:newThread('turtle_heartbeat', function() process:newThread('turtle_heartbeat', function()
os.sleep(1)
while true do while true do
os.pullEvent('turtle_response') os.pullEvent('turtle_response')
if turtle.status ~= info.status or if turtle.status ~= info.status or