Whitespace changes to be inline with multiwii/master.
This commit is contained in:
parent
5b3ba7a1d3
commit
28b7178418
|
@ -297,7 +297,7 @@ typedef struct baro_t
|
||||||
#include "drv_timer.h"
|
#include "drv_timer.h"
|
||||||
#include "drv_serial.h"
|
#include "drv_serial.h"
|
||||||
#include "drv_uart.h"
|
#include "drv_uart.h"
|
||||||
#include "drv_softserial.h"
|
#include "drv_softserial.h"
|
||||||
#else
|
#else
|
||||||
|
|
||||||
// AfroFlight32
|
// AfroFlight32
|
||||||
|
@ -318,7 +318,7 @@ typedef struct baro_t
|
||||||
#include "drv_timer.h"
|
#include "drv_timer.h"
|
||||||
#include "drv_serial.h"
|
#include "drv_serial.h"
|
||||||
#include "drv_uart.h"
|
#include "drv_uart.h"
|
||||||
#include "drv_softserial.h"
|
#include "drv_softserial.h"
|
||||||
#include "drv_hcsr04.h"
|
#include "drv_hcsr04.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
// FIXME this is a uart_t really. Move the generic properties into a separate structure (serialPort_t) and update the code to use it
|
// FIXME this is a uart_t really. Move the generic properties into a separate structure (serialPort_t) and update the code to use it
|
||||||
typedef struct {
|
typedef struct {
|
||||||
serialPort_t port;
|
serialPort_t port;
|
||||||
|
|
||||||
// FIXME these are uart specific and do not belong in here
|
// FIXME these are uart specific and do not belong in here
|
||||||
DMA_Channel_TypeDef *rxDMAChannel;
|
DMA_Channel_TypeDef *rxDMAChannel;
|
||||||
DMA_Channel_TypeDef *txDMAChannel;
|
DMA_Channel_TypeDef *txDMAChannel;
|
||||||
|
|
2
src/mw.h
2
src/mw.h
|
@ -276,7 +276,7 @@ typedef struct master_t {
|
||||||
int8_t gps_baudrate; // See GPSBaudRates enum.
|
int8_t gps_baudrate; // See GPSBaudRates enum.
|
||||||
|
|
||||||
uint32_t serial_baudrate;
|
uint32_t serial_baudrate;
|
||||||
|
|
||||||
uint32_t softserial_baudrate; // shared by both soft serial ports
|
uint32_t softserial_baudrate; // shared by both soft serial ports
|
||||||
uint8_t softserial_1_inverted; // use inverted softserial input and output signals on port 1
|
uint8_t softserial_1_inverted; // use inverted softserial input and output signals on port 1
|
||||||
uint8_t softserial_2_inverted; // use inverted softserial input and output signals on port 2
|
uint8_t softserial_2_inverted; // use inverted softserial input and output signals on port 2
|
||||||
|
|
Loading…
Reference in New Issue