uncrustify ArduCopter/system.pde

This commit is contained in:
uncrustify 2012-08-21 19:19:50 -07:00 committed by Pat Hickey
parent 4ae0b9dc8a
commit 06031868d8

View File

@ -1,9 +1,9 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*****************************************************************************
The init_ardupilot function processes everything we need for an in - air restart
We will determine later if we are actually on the ground and process a
ground start in that case.
* The init_ardupilot function processes everything we need for an in - air restart
* We will determine later if we are actually on the ground and process a
* ground start in that case.
*
*****************************************************************************/
#if CLI_ENABLED == ENABLED
@ -403,19 +403,19 @@ static void startup_ground(void)
}
/*
#define YAW_HOLD 0
#define YAW_ACRO 1
#define YAW_AUTO 2
#define YAW_LOOK_AT_HOME 3
#define ROLL_PITCH_STABLE 0
#define ROLL_PITCH_ACRO 1
#define ROLL_PITCH_AUTO 2
#define THROTTLE_MANUAL 0
#define THROTTLE_HOLD 1
#define THROTTLE_AUTO 2
* #define YAW_HOLD 0
* #define YAW_ACRO 1
* #define YAW_AUTO 2
* #define YAW_LOOK_AT_HOME 3
*
* #define ROLL_PITCH_STABLE 0
* #define ROLL_PITCH_ACRO 1
* #define ROLL_PITCH_AUTO 2
*
* #define THROTTLE_MANUAL 0
* #define THROTTLE_HOLD 1
* #define THROTTLE_AUTO 2
*
*/
static void set_mode(byte mode)
@ -650,7 +650,7 @@ check_startup_for_CLI()
#endif // CLI_ENABLED
/*
map from a 8 bit EEPROM baud rate to a real baud rate
* map from a 8 bit EEPROM baud rate to a real baud rate
*/
static uint32_t map_baudrate(int8_t rate, uint32_t default_baud)
{
@ -688,8 +688,8 @@ static void check_usb_mux(void)
#endif
/*
called by gyro/accel init to flash LEDs so user
has some mesmerising lights to watch while waiting
* called by gyro/accel init to flash LEDs so user
* has some mesmerising lights to watch while waiting
*/
void flash_leds(bool on)
{