Update gps.lua
This commit is contained in:
parent
fa2214de5d
commit
89fe78d413
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@ local x, y, z = gps.locate(0)
|
||||||
if not x then
|
if not x then
|
||||||
x, y, z = "?", "?", "?"
|
x, y, z = "?", "?", "?"
|
||||||
end
|
end
|
||||||
sPhone.winOk("X Y Z", x.." "..y.." "..z)
|
sPhone.winOk("X Y Z", math.ceil(x).." "..math.ceil(y).." "..math.ceil(z))
|
||||||
|
|
Loading…
Reference in a new issue