uncrustify ArduPlane/sensors.pde
This commit is contained in:
parent
956b101189
commit
944dffc50a
@ -49,9 +49,9 @@ static void read_battery(void)
|
||||
current_total1 += current_amps1 * (float)delta_ms_medium_loop * 0.0002778; // .0002778 is 1/3600 (conversion to hours)
|
||||
}
|
||||
|
||||
#if BATTERY_EVENT == ENABLED
|
||||
#if BATTERY_EVENT == ENABLED
|
||||
if(battery_voltage1 < LOW_VOLTAGE) low_battery_event();
|
||||
if(g.battery_monitoring == 4 && current_total1 > g.pack_capacity) low_battery_event();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user