re-order PollSensors to verify that the most important sensors have their debug statements display last
This commit is contained in:
8
main.lua
8
main.lua
@@ -479,10 +479,10 @@ function PollThrottle()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function PollSensors()
|
function PollSensors()
|
||||||
PollVelocity()
|
|
||||||
PollAltitude()
|
|
||||||
PollNavTable()
|
PollNavTable()
|
||||||
|
PollAltitude()
|
||||||
PollGimbal()
|
PollGimbal()
|
||||||
|
PollVelocity()
|
||||||
end
|
end
|
||||||
|
|
||||||
function PollVelocity()
|
function PollVelocity()
|
||||||
@@ -509,6 +509,10 @@ function PollVelocity()
|
|||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
if Config.Debug then
|
||||||
|
print("DEBUG: No velocity sensors found.")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user