mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-12 09:16:34 +02:00
Bangle.js: Fix typo
This commit is contained in:
parent
a57a8cc7ca
commit
d4bcbc52fb
@ -38,7 +38,7 @@ import nodomain.freeyourgadget.gadgetbridge.util.GB;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A static location manager, which keeps track of what providers are currently running. A notification is kept
|
* A static location manager, which keeps track of what providers are currently running. A notification is kept
|
||||||
* while there is at least one provider runnin.
|
* while there is at least one provider running.
|
||||||
*/
|
*/
|
||||||
public class GBLocationManager {
|
public class GBLocationManager {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(GBLocationManager.class);
|
private static final Logger LOG = LoggerFactory.getLogger(GBLocationManager.class);
|
||||||
|
@ -967,7 +967,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
|||||||
}
|
}
|
||||||
o.put("hdop", location.getAccuracy());
|
o.put("hdop", location.getAccuracy());
|
||||||
o.put("externalSource", true);
|
o.put("externalSource", true);
|
||||||
LOG.debug("Sending gps valu: " + o.toString());
|
LOG.debug("Sending gps value: " + o.toString());
|
||||||
uartTxJSON("gps", o);
|
uartTxJSON("gps", o);
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
GB.toast(getContext(), "uartTxJSONError: " + e.getLocalizedMessage(), Toast.LENGTH_LONG, GB.ERROR);
|
GB.toast(getContext(), "uartTxJSONError: " + e.getLocalizedMessage(), Toast.LENGTH_LONG, GB.ERROR);
|
||||||
|
Loading…
Reference in New Issue
Block a user