mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Copter: fixed load average for different loop rates
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
This commit is contained in:
parent
07d621c4be
commit
339689b578
@ -211,7 +211,7 @@ static NOINLINE void send_extended_status1(mavlink_channel_t chan)
|
||||
control_sensors_present,
|
||||
control_sensors_enabled,
|
||||
control_sensors_health,
|
||||
(uint16_t)(scheduler.load_average(10000) * 1000),
|
||||
(uint16_t)(scheduler.load_average(MAIN_LOOP_MICROS) * 1000),
|
||||
battery.voltage() * 1000, // mV
|
||||
battery_current, // in 10mA units
|
||||
battery_remaining, // in %
|
||||
|
Loading…
Reference in New Issue
Block a user