mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:13:34 +08:00
fix code style if trivial one line difference
This commit is contained in:
committed by
Lorenz Meier
parent
c147424fe7
commit
c2abb0f82a
@@ -54,7 +54,7 @@ __BEGIN_DECLS
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#define UDID_START 0x1FFF7A10
|
||||
|
||||
|
||||
/****************************************************************************************************
|
||||
* Definitions
|
||||
****************************************************************************************************/
|
||||
|
||||
@@ -52,7 +52,7 @@ __BEGIN_DECLS
|
||||
/* these headers are not C++ safe */
|
||||
#include <stm32.h>
|
||||
#include <arch/board/board.h>
|
||||
|
||||
|
||||
/****************************************************************************************************
|
||||
* Definitions
|
||||
****************************************************************************************************/
|
||||
|
||||
@@ -54,7 +54,7 @@ __BEGIN_DECLS
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#define UDID_START 0x1FFF7A10
|
||||
|
||||
|
||||
/****************************************************************************************************
|
||||
* Definitions
|
||||
****************************************************************************************************/
|
||||
|
||||
@@ -87,7 +87,7 @@ __EXPORT void stm32_boardinitialize(void)
|
||||
stm32_configgpio(GPIO_RELAY1_EN);
|
||||
stm32_configgpio(GPIO_RELAY2_EN);
|
||||
|
||||
/* turn off - all leds are active low */
|
||||
/* turn off - all leds are active low */
|
||||
stm32_gpiowrite(GPIO_LED1, true);
|
||||
stm32_gpiowrite(GPIO_LED2, true);
|
||||
stm32_gpiowrite(GPIO_LED3, true);
|
||||
|
||||
@@ -126,7 +126,7 @@ __EXPORT void stm32_boardinitialize(void)
|
||||
|
||||
stm32_configgpio(GPIO_SBUS_INPUT); /* xxx alternate function */
|
||||
stm32_configgpio(GPIO_SBUS_OUTPUT);
|
||||
|
||||
|
||||
/* sbus output enable is active low - disable it by default */
|
||||
stm32_gpiowrite(GPIO_SBUS_OENABLE, true);
|
||||
stm32_configgpio(GPIO_SBUS_OENABLE);
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @file drv_airspeed.h
|
||||
*
|
||||
* Airspeed driver interface.
|
||||
*
|
||||
*
|
||||
* @author Simon Wilks
|
||||
*/
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
/** play the numbered script in (arg), repeating forever */
|
||||
#define BLINKM_PLAY_SCRIPT _BLINKMIOC(2)
|
||||
|
||||
/**
|
||||
/**
|
||||
* Set the user script; (arg) is a pointer to an array of script lines,
|
||||
* where each line is an array of four bytes giving <duration>, <command>, arg[0-2]
|
||||
*
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
/**
|
||||
* @file drv_orb_dev.h
|
||||
*
|
||||
*
|
||||
* uORB published object driver.
|
||||
*/
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ enum oreoled_macro {
|
||||
OREOLED_PARAM_MACRO_ENUM_COUNT
|
||||
};
|
||||
|
||||
/*
|
||||
/*
|
||||
structure passed to OREOLED_SET_RGB ioctl()
|
||||
Note that the driver scales the brightness to 0 to 255, regardless
|
||||
of the hardware scaling
|
||||
|
||||
@@ -46,6 +46,6 @@ __BEGIN_DECLS
|
||||
/*
|
||||
* Initialise the timer
|
||||
*/
|
||||
__EXPORT extern int pwm_input_main(int argc, char * argv[]);
|
||||
__EXPORT extern int pwm_input_main(int argc, char *argv[]);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
@@ -50,4 +50,4 @@
|
||||
/* interface factories */
|
||||
extern device::Device *HMC5883_SPI_interface(int bus) weak_function;
|
||||
extern device::Device *HMC5883_I2C_interface(int bus) weak_function;
|
||||
typedef device::Device* (*HMC5883_constructor)(int);
|
||||
typedef device::Device *(*HMC5883_constructor)(int);
|
||||
|
||||
@@ -82,4 +82,4 @@ extern bool crc4(uint16_t *n_prom);
|
||||
/* interface factories */
|
||||
extern device::Device *MS5611_spi_interface(ms5611::prom_u &prom_buf, uint8_t busnum) weak_function;
|
||||
extern device::Device *MS5611_i2c_interface(ms5611::prom_u &prom_buf, uint8_t busnum) weak_function;
|
||||
typedef device::Device* (*MS5611_constructor)(ms5611::prom_u &prom_buf, uint8_t busnum);
|
||||
typedef device::Device *(*MS5611_constructor)(ms5611::prom_u &prom_buf, uint8_t busnum);
|
||||
|
||||
Reference in New Issue
Block a user