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
|
||||
|
||||
function PollSensors()
|
||||
PollVelocity()
|
||||
PollAltitude()
|
||||
PollNavTable()
|
||||
PollAltitude()
|
||||
PollGimbal()
|
||||
PollVelocity()
|
||||
end
|
||||
|
||||
function PollVelocity()
|
||||
@@ -509,6 +509,10 @@ function PollVelocity()
|
||||
end
|
||||
|
||||
end
|
||||
else
|
||||
if Config.Debug then
|
||||
print("DEBUG: No velocity sensors found.")
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user