summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-08 16:55:25 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-08 16:55:25 -0800
commiteef3d63de63ef4915ebf4d77e2940b522d971b4f (patch)
tree5e78474042dc507c72bbd53704928c6698844a7e
parent0b7c11a597d5c10a8b8c1ed52861846ac2c2cba7 (diff)
downloadsubsurface-eef3d63de63ef4915ebf4d77e2940b522d971b4f.tar.gz
Uemis GPS location tracking seems backwards
I can't figure out how this ever worked... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--uemis.c2
-rw-r--r--uemis.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/uemis.c b/uemis.c
index 81f145b11..59f7057e9 100644
--- a/uemis.c
+++ b/uemis.c
@@ -150,7 +150,7 @@ int uemis_get_weight_unit(int diveid)
return 0;
}
-void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *longitude, degrees_t *latitude)
+void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *latitude, degrees_t *longitude)
{
struct uemis_helper *hp = uemis_get_helper(diveid);
hp->divespot = divespot;
diff --git a/uemis.h b/uemis.h
index ddc9c9936..32c4bdc24 100644
--- a/uemis.h
+++ b/uemis.h
@@ -14,7 +14,7 @@ extern "C" {
void uemis_parse_divelog_binary(char *base64, void *divep);
int uemis_get_weight_unit(int diveid);
-void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *longitude, degrees_t *latitude);
+void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *latitude, degrees_t *longitude);
void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude);
typedef struct