cosmetics

This commit is contained in:
midelic 2016-09-18 15:58:04 +01:00 committed by GitHub
parent caa9e1c12f
commit 054d5c8f0b
2 changed files with 49 additions and 47 deletions

View File

@ -98,9 +98,11 @@ volatile uint16_t PPM_data[NUM_CHN];
// Serial variables
#ifdef INVERT_TELEMETRY
// enable bit bash for serial
#ifndef STM32_board
#define BASH_SERIAL 1
#define INVERT_SERIAL 1
#endif
#endif
#define BAUD 100000
#define RXBUFFER_SIZE 25
#define TXBUFFER_SIZE 32
@ -178,8 +180,8 @@ void setup()
#if defined TELEMETRY
pinMode(TX_INV_pin,OUTPUT);
pinMode(RX_INV_pin,OUTPUT);
#if defined TARANIS
TX_INV_on;
#if defined INVERT_TELEMETRY
TX_INV_on;//activated inverter for both serial TX and RX signals
RX_INV_on;
#else
TX_INV_off;