diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-05 16:42:52 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-05 16:44:02 +0200 |
commit | 6e0690fde1073649a4ef201671ca947cb83edc37 (patch) | |
tree | 75e1a077601d2f76545574bfb464fd8f9d82193f /src/lib | |
parent | 67e3c808d24773c7c4bd4608866de1edb617cb04 (diff) | |
download | px4-firmware-6e0690fde1073649a4ef201671ca947cb83edc37.tar.gz px4-firmware-6e0690fde1073649a4ef201671ca947cb83edc37.tar.bz2 px4-firmware-6e0690fde1073649a4ef201671ca947cb83edc37.zip |
init global map projection when gps is valid
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/geo/geo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/geo/geo.c b/src/lib/geo/geo.c index 438e354df..10a518908 100644 --- a/src/lib/geo/geo.c +++ b/src/lib/geo/geo.c @@ -79,7 +79,7 @@ __EXPORT uint64_t map_projection_timestamp(const struct map_projection_reference __EXPORT int map_projection_global_init(double lat_0, double lon_0, uint64_t timestamp) //lat_0, lon_0 are expected to be in correct format: -> 47.1234567 and not 471234567 { - if (strcmp("navigator", getprogname() == 0)) { + if (strcmp("commander", getprogname() == 0)) { return map_projection_init_timestamped(&mp_ref, lat_0, lon_0, timestamp); } else { |