Skip to content

Commit

Permalink
mavlink main return main loop delay proper size
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored and LorenzMeier committed Aug 20, 2017
1 parent 4b97e15 commit 1e42d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/mavlink/mavlink_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class Mavlink
int get_data_rate() { return _datarate; }
void set_data_rate(int rate) { if (rate > 0) { _datarate = rate; } }

uint64_t get_main_loop_delay() { return _main_loop_delay; }
unsigned get_main_loop_delay() const { return _main_loop_delay; }

/** get the Mavlink shell. Create a new one if there isn't one. It is *always* created via MavlinkReceiver thread.
* Returns nullptr if shell cannot be created */
Expand Down

0 comments on commit 1e42d52

Please sign in to comment.