1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 10:56:50 +01:00

Banglejs: change json key to lon when sending location data to watch

This commit is contained in:
Lukas 2023-01-07 16:12:06 +01:00
parent 9b4f909ace
commit 25be7cf12d

View File

@ -933,7 +933,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
try {
o.put("t", "gps");
o.put("lat", location.getLatitude());
o.put("long", location.getLongitude());
o.put("lon", location.getLongitude());
o.put("alt", location.getAltitude());
o.put("speed", location.getSpeed());
o.put("course", 0);