AP_BattMonitor: minor format fix to BLHeliESC
This commit is contained in:
parent
29782c3d2e
commit
9b561c76e2
@ -35,12 +35,12 @@ void AP_BattMonitor_BLHeliESC::read(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t num_escs = 0;
|
uint8_t num_escs = 0;
|
||||||
float voltage_sum=0;
|
float voltage_sum = 0;
|
||||||
float current_sum=0;
|
float current_sum = 0;
|
||||||
float consumed_sum=0;
|
float consumed_sum = 0;
|
||||||
float temperature_sum=0;
|
float temperature_sum = 0;
|
||||||
uint32_t now = AP_HAL::millis();
|
uint32_t now = AP_HAL::millis();
|
||||||
uint32_t highest_ms=0;
|
uint32_t highest_ms = 0;
|
||||||
|
|
||||||
for (uint8_t i=0; i<AP_BLHELI_MAX_ESCS; i++) {
|
for (uint8_t i=0; i<AP_BLHELI_MAX_ESCS; i++) {
|
||||||
AP_BLHeli::telem_data td;
|
AP_BLHeli::telem_data td;
|
||||||
|
Loading…
Reference in New Issue
Block a user