Skip to content

Commit

Permalink
fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsadok authored and mhkabir committed Jun 6, 2017
1 parent 41f2c94 commit ae41c5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/navigator/smart_rtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ float SmartRTL::bearing_to_setpoint(position_setpoint_s &sp)
void SmartRTL::dump_setpoint(const char *name, position_setpoint_s &sp)
{
TRACKER_DBG("%s setpoint is lat %f lon %f alt %f, distance %f, %s", name,
sp.lat, sp.lon, sp.alt,
sp.lat, sp.lon, (double)sp.alt,
(double)distance_to_setpoint(sp), sp.valid ? "valid" : "invalid");
}

Expand Down
2 changes: 1 addition & 1 deletion src/modules/navigator/tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ void Tracker::push_graph(fpos_t &position)
TRACKER_DBG("could reduce graph density from %.3f%% to %.3f%% in %f ms",
(double)100 * ((double)1 - (double)free_space_before / (GRAPH_LENGTH * sizeof(delta_item_t))),
(double)100 * ((double)1 - (double)get_free_graph_space() / (GRAPH_LENGTH * sizeof(delta_item_t))),
start_time / 1e3f);
(double)(start_time / 1e3f));
}


Expand Down
2 changes: 1 addition & 1 deletion src/modules/navigator/tracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@


// Enables verbose debug messages by the flight path tracker
#define DEBUG_TRACKER
//#define DEBUG_TRACKER


#ifdef DEBUG_TRACKER
Expand Down

0 comments on commit ae41c5b

Please sign in to comment.