[PATCH] uemis-downloader - typo?
Dirk Hohndel
dirk at hohndel.org
Thu Mar 19 13:48:16 PDT 2015
Jikes. Goes to show that no one sane would ever enter a GPS location on
the Uemis SDA...
Thanks for the patches. Both look good (even the one you sent twice) :-)
/D
On Thu, Mar 19, 2015 at 05:32:41PM -0300, Marcos Cardinot wrote:
> From b04b2a168c08002ddc7058da8b968a74dd73afdd Mon Sep 17 00:00:00 2001
> From: Marcos CARDINOT <mcardinot at gmail.com>
> Date: Thu, 19 Mar 2015 17:20:03 -0300
> Subject: [PATCH] uemis-downloader - arguments in wrong order
>
> method's signature: void uemis_set_divelocation(int divespot, char *text, double longitude, double latitude)
>
> Signed-off-by: Marcos CARDINOT <mcardinot at gmail.com>
> ---
> uemis-downloader.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/uemis-downloader.c b/uemis-downloader.c
> index b9ea57b..b2d2583 100644
> --- a/uemis-downloader.c
> +++ b/uemis-downloader.c
> @@ -635,7 +635,7 @@ static void parse_divespot(char *buf)
> latitude = ascii_strtod(val, NULL);
> }
> } while (tag && *tag);
> - uemis_set_divelocation(divespot, locationstring, latitude, longitude);
> + uemis_set_divelocation(divespot, locationstring, longitude, latitude);
> }
>
> static void track_divespot(char *val, int diveid, uint32_t dive_site_uuid)
> --
> 1.7.9.5
>
More information about the subsurface
mailing list