Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix flag for initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeyoung-Lim authored and bkueng committed Jul 22, 2019
1 parent e175118 commit d38164f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geo/geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ int globallocalconverter_init(double lat_0, double lon_0, float alt_0, uint64_t
{
gl_ref.alt = alt_0;

if (map_projection_global_init(lat_0, lon_0, timestamp) != 0) {
if (!map_projection_global_init(lat_0, lon_0, timestamp)) {
gl_ref.init_done = true;
return 0;
}
Expand Down

0 comments on commit d38164f

Please sign in to comment.