projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc: Add indication of configuration file
[bertos.git]
/
bertos
/
net
/
nmea.c
diff --git
a/bertos/net/nmea.c
b/bertos/net/nmea.c
index 8fe3ad7ea207319c99dc22fd4529165a2893332d..d232c73adfa253de40069cfff4797c081884d905 100644
(file)
--- a/
bertos/net/nmea.c
+++ b/
bertos/net/nmea.c
@@
-165,9
+165,9
@@
static udegree_t nmea_longitude(const char *plot, const char *phem)
* Return altitude in meter from a string.
*
*/
-static
uint16
_t nmea_altitude(const char *palt, const char *punits)
+static
int32
_t nmea_altitude(const char *palt, const char *punits)
{
-
u
int32_t alt;
+ int32_t alt;
if (*palt == 0)
return 0;