mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-05 22:24:47 +08:00
mavlink main return main loop delay proper size
This commit is contained in:
committed by
Lorenz Meier
parent
4b97e15714
commit
1e42d523da
@@ -452,7 +452,7 @@ public:
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user