From 75ba7aa3b0bc028e00aad45900817b49b2630261 Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 5 Oct 2009 17:12:10 +0000 Subject: [PATCH] Fix return function. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3029 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/net/nmea.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bertos/net/nmea.c b/bertos/net/nmea.c index a9684a9e..29f99ee1 100644 --- a/bertos/net/nmea.c +++ b/bertos/net/nmea.c @@ -91,6 +91,8 @@ static udegree_t convertToDegree(const char *str) deg = dec / 1000000; min = dec - deg * 1000000; dec = deg * 1000000 + ((min * 5) + 1) / 3; + + return dec; } static udegree_t nmea_latitude(const char *plat, const char *phem) -- 2.25.1