1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Whitespace cleanup

Misplaced whitespace fixed, no functional changes
This commit is contained in:
Petr Ledvina 2014-11-24 21:39:25 +01:00
parent bfe2410e1c
commit 57c308538f
6 changed files with 18 additions and 25 deletions

View file

@ -110,7 +110,6 @@ serialPort_t *uartOpen(USART_TypeDef *USARTx, serialReceiveCallbackPtr callback,
uartReconfigure(s); uartReconfigure(s);
// Receive DMA or IRQ // Receive DMA or IRQ
DMA_InitTypeDef DMA_InitStructure; DMA_InitTypeDef DMA_InitStructure;
if ((mode & MODE_RX) || (mode & MODE_BIDIR)) { if ((mode & MODE_RX) || (mode & MODE_BIDIR)) {

View file

@ -537,8 +537,6 @@ void timerChConfigICDual(const timerHardware_t* timHw, bool polarityRising, unsi
TIM_ICInit(timHw->tim, &TIM_ICInitStructure); TIM_ICInit(timHw->tim, &TIM_ICInitStructure);
} }
void timerChICPolarity(const timerHardware_t *timHw, bool polarityRising) void timerChICPolarity(const timerHardware_t *timHw, bool polarityRising)
{ {
timCCER_t tmpccer = timHw->tim->CCER; timCCER_t tmpccer = timHw->tim->CCER;

View file

@ -96,10 +96,6 @@
#define USE_I2C #define USE_I2C
#define I2C_DEVICE (I2CDEV_2) #define I2C_DEVICE (I2CDEV_2)
// #define SOFT_I2C // enable to test software i2c // #define SOFT_I2C // enable to test software i2c
// #define SOFT_I2C_PB1011 // If SOFT_I2C is enabled above, need to define pinout as well (I2C1 = PB67, I2C2 = PB1011) // #define SOFT_I2C_PB1011 // If SOFT_I2C is enabled above, need to define pinout as well (I2C1 = PB67, I2C2 = PB1011)
// #define SOFT_I2C_PB67 // #define SOFT_I2C_PB67