mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-1299 uncrustify.
This commit is contained in:
parent
944e39db07
commit
adcd606e16
@ -213,9 +213,10 @@ static void onTimer(__attribute__((unused)) UAVObjEvent *ev)
|
||||
static int8_t GetNbCells(const FlightBatterySettingsData *batterySettings, FlightBatteryStateData *flightBatteryData)
|
||||
{
|
||||
// get flight status to check for armed
|
||||
uint8_t armed=0;
|
||||
uint8_t armed = 0;
|
||||
|
||||
FlightStatusArmedGet(&armed);
|
||||
|
||||
|
||||
|
||||
// check only if not armed
|
||||
if (armed == FLIGHTSTATUS_ARMED_ARMED) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user