mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Whitespace cleanup
Misplaced whitespace fixed, no functional changes
This commit is contained in:
parent
bfe2410e1c
commit
57c308538f
6 changed files with 18 additions and 25 deletions
|
@ -110,7 +110,6 @@ serialPort_t *uartOpen(USART_TypeDef *USARTx, serialReceiveCallbackPtr callback,
|
|||
|
||||
uartReconfigure(s);
|
||||
|
||||
|
||||
// Receive DMA or IRQ
|
||||
DMA_InitTypeDef DMA_InitStructure;
|
||||
if ((mode & MODE_RX) || (mode & MODE_BIDIR)) {
|
||||
|
|
|
@ -537,8 +537,6 @@ void timerChConfigICDual(const timerHardware_t* timHw, bool polarityRising, unsi
|
|||
TIM_ICInit(timHw->tim, &TIM_ICInitStructure);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void timerChICPolarity(const timerHardware_t *timHw, bool polarityRising)
|
||||
{
|
||||
timCCER_t tmpccer = timHw->tim->CCER;
|
||||
|
|
|
@ -96,10 +96,6 @@
|
|||
#define USE_I2C
|
||||
#define I2C_DEVICE (I2CDEV_2)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// #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_PB67
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue