Removed completely routines.scheduleFunction

This commit is contained in:
FlightControl
2016-06-26 07:41:01 +02:00
parent e842c7a042
commit fefe5382af
32 changed files with 2 additions and 197 deletions

View File

@@ -441,22 +441,6 @@ routines.getNorthCorrection = function(point) --gets the correction needed for
end
-- the main area
do
-- THE MAIN FUNCTION -- Accessed 100 times/sec.
routines.main = function()
timer.scheduleFunction(routines.main, {}, timer.getTime() + 2) --reschedule first in case of Lua error
----------------------------------------------------------------------------------------------------------
--area to add new stuff in
routines.do_scheduled_functions()
end -- end of routines.main
timer.scheduleFunction(routines.main, {}, timer.getTime() + 2)
end
do
local idNum = 0