feat: Enhance GPS position update logging with success and failure messages
This commit is contained in:
@@ -101,7 +101,10 @@ local function updateMyPosition()
|
|||||||
position = myPosition,
|
position = myPosition,
|
||||||
timestamp = os.epoch("utc")
|
timestamp = os.epoch("utc")
|
||||||
})
|
})
|
||||||
|
addLog("GPS: " .. x .. "," .. y .. "," .. z, colors.lime)
|
||||||
return true
|
return true
|
||||||
|
else
|
||||||
|
addLog("GPS: Failed to locate", colors.red)
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user