1
0
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:
Andres 2014-04-13 14:08:34 +02:00
parent 944e39db07
commit adcd606e16

View File

@ -213,9 +213,10 @@ static void onTimer(__attribute__((unused)) UAVObjEvent *ev)
static int8_t GetNbCells(const FlightBatterySettingsData *batterySettings, FlightBatteryStateData *flightBatteryData) static int8_t GetNbCells(const FlightBatterySettingsData *batterySettings, FlightBatteryStateData *flightBatteryData)
{ {
// get flight status to check for armed // get flight status to check for armed
uint8_t armed=0; uint8_t armed = 0;
FlightStatusArmedGet(&armed); FlightStatusArmedGet(&armed);
// check only if not armed // check only if not armed
if (armed == FLIGHTSTATUS_ARMED_ARMED) { if (armed == FLIGHTSTATUS_ARMED_ARMED) {