moved PollVelocity debug print outside of loop to avoid redundant terminal output
This commit is contained in:
8
main.lua
8
main.lua
@@ -568,12 +568,12 @@ function PollVelocity()
|
|||||||
VelocityVectors[vsAxis] = vsVelocity
|
VelocityVectors[vsAxis] = vsVelocity
|
||||||
|
|
||||||
SensorData.Velocity.Raw = VelocityVectors
|
SensorData.Velocity.Raw = VelocityVectors
|
||||||
|
|
||||||
if Config.Debug then
|
|
||||||
print("DEBUG: PollVelocity fetched sensor data: "..tableToString(SensorData.Velocity))
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if Config.Debug then
|
||||||
|
print("DEBUG: PollVelocity fetched sensor data: "..tableToString(SensorData.Velocity))
|
||||||
|
end
|
||||||
else
|
else
|
||||||
if Config.Debug then
|
if Config.Debug then
|
||||||
print("DEBUG: No velocity sensors found.")
|
print("DEBUG: No velocity sensors found.")
|
||||||
|
|||||||
Reference in New Issue
Block a user