mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Banglejs: change json key to lon when sending location data to watch
This commit is contained in:
parent
9b4f909ace
commit
25be7cf12d
@ -933,7 +933,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
|||||||
try {
|
try {
|
||||||
o.put("t", "gps");
|
o.put("t", "gps");
|
||||||
o.put("lat", location.getLatitude());
|
o.put("lat", location.getLatitude());
|
||||||
o.put("long", location.getLongitude());
|
o.put("lon", location.getLongitude());
|
||||||
o.put("alt", location.getAltitude());
|
o.put("alt", location.getAltitude());
|
||||||
o.put("speed", location.getSpeed());
|
o.put("speed", location.getSpeed());
|
||||||
o.put("course", 0);
|
o.put("course", 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user